Skip to content

Commit 0f4d53c

Browse files
authored
Update staging setup for debugging (#1049)
1 parent 9ca2499 commit 0f4d53c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/environments/staging.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@
4040

4141
# Log to STDOUT with the current request id as a default log tag.
4242
config.log_tags = [:request_id]
43+
$stdout.sync = true
4344
config.logger = ActiveSupport::TaggedLogging.logger($stdout)
4445

4546
# Change to "debug" to log everything (including potentially personally-identifiable information!)
46-
config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
47+
config.log_level = :debug
4748

4849
# Prevent health checks from clogging up the logs.
4950
config.silence_healthcheck_path = "/up"

0 commit comments

Comments
 (0)