Skip to content

Commit 007a55d

Browse files
committed
Let the Rails logger print backtraces
1 parent e6b5ca8 commit 007a55d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

benchmarks/lobsters/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
8989

9090
# yjit-bench configurations
91-
config.logger = nil
91+
config.log_level = :error
9292
config.secret_key_base = 'in general secret should not be in the git repo but this is a benchmark'
9393
# If we want to benchmark with YJIT then it has already been enabled by command line arguments.
9494
# If we are benchmarking CRuby without YJIT don't enable it even if this build has it.

benchmarks/railsbench/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
9292

9393
# yjit-bench configurations
94-
config.logger = nil
94+
config.log_level = :error
9595
config.secret_key_base = 'in general secret should not be in the git repo but this is a benchmark'
9696
# If we want to benchmark with YJIT then it has already been enabled by command line arguments.
9797
# If we are benchmarking CRuby without YJIT don't enable it even if this build has it.

benchmarks/shipit/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@
7070
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
7171

7272
# Benchmark mods:
73-
config.logger = nil # disable logging
73+
config.log_level = :error
7474
config.yjit = false
7575
end

0 commit comments

Comments
 (0)