Skip to content

Commit

Permalink
Enable debug logging on production
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Jan 26, 2024
1 parent 418b26a commit 16e52e7
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 @@ -63,7 +63,7 @@
config.action_controller.perform_caching = true
# debugging: log fragment reads/writes
# (it will show [cache hit] even if set to false)
config.action_controller.enable_fragment_cache_logging = false
config.action_controller.enable_fragment_cache_logging = true

# Enable Rack::Cache to put a simple HTTP cache in front of your application
# Add `rack-cache` to your Gemfile before enabling this.
Expand Down Expand Up @@ -134,7 +134,7 @@
# personally identifiable information (PII). If you want to log everything,
# set the level to "debug".
# config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
config.log_level = :info
config.log_level = :debug

# Disable automatic flushing of the log to improve performance.
# config.autoflush_log = false
Expand Down

0 comments on commit 16e52e7

Please sign in to comment.