Skip to content

Commit

Permalink
Remove logging to STDOUT so we log to production.log instead (#1272)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasugaijin authored Dec 17, 2024
1 parent 8483d63 commit d35b29e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }

# Log to STDOUT with the current request id as a default log tag.
config.log_tags = [:request_id]
config.logger = ActiveSupport::TaggedLogging.logger($stdout)
# config.log_tags = [:request_id]
# config.logger = ActiveSupport::TaggedLogging.logger($stdout)

# Change to "debug" to log everything (including potentially personally-identifiable information!)
config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
Expand Down

0 comments on commit d35b29e

Please sign in to comment.