Skip to content

Commit

Permalink
Log level fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjaustin committed Dec 16, 2023
1 parent 4ca49c2 commit 78ba457
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@
# Store uploaded files on the local file system (see config/storage.yml for options).
config.active_storage.service = :local

# See everything in the log (default is now :debug)
# config.log_level = :debug
config.log_level = :error

# Use a different cache store in production
config.cache_store = :mem_cache_store, ArchiveConfig.MEMCACHED_SERVERS,
{ namespace: "ao3-v2", compress: true, pool_size: 10 }
Expand All @@ -63,7 +59,8 @@

# Include generic and useful information about system operation, but avoid logging too much
# information to avoid inadvertent exposure of personally identifiable information (PII).
config.log_level = :info
# config.log_level = :info
config.log_level = :error

# Prepend all log lines with the following tags.
config.log_tags = [:request_id]
Expand Down

0 comments on commit 78ba457

Please sign in to comment.