Skip to content

Commit

Permalink
Remove STDOUT logger configuration
Browse files Browse the repository at this point in the history
Removing the STDOUT logger configuration so Rails will use its default
file-based logging behavior, writing logs to log/production.rb.
  • Loading branch information
gbp committed Jan 17, 2025
1 parent d785001 commit 9839cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

# 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.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 9839cbd

Please sign in to comment.