Skip to content

Commit

Permalink
Make Rails logger level INFO so that we stop getting Could not log sq…
Browse files Browse the repository at this point in the history
…l.active_record event messages in logs
  • Loading branch information
jgreben committed Sep 11, 2019
1 parent 169047d commit 0bf099c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.

config.log_level = :info

# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
config.log_level = :debug
config.log_level = :info

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

0 comments on commit 0bf099c

Please sign in to comment.