Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log

# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
config.log_level = ENV["RAILS_LOG_LEVEL"]&.to_sym || :debug

# Raise an error on page load if there are pending migrations.
config.active_record.migration_error = :page_load

Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
config.log_level = :debug
config.log_level = ENV["RAILS_LOG_LEVEL"]&.to_sym || :info

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