Changes default log level to :info on production and staging

2.0
David Arango 12 years ago
parent 0ce017c977
commit aa712e2e74

@ -21,7 +21,7 @@ CartoDB::Application.configure do
# just comment this out and Rails will serve the files
# See everything in the log (default is :info)
config.log_level = :debug
config.log_level = :info
# Use a different logger for distributed setups
# config.logger = SyslogLogger.new

@ -21,7 +21,7 @@ CartoDB::Application.configure do
# just comment this out and Rails will serve the files
# See everything in the log (default is :info)
config.log_level = :debug
config.log_level = :info
# Use a different logger for distributed setups
# config.logger = SyslogLogger.new

@ -0,0 +1 @@
::Sequel::DATABASES.each{|d| d.sql_log_level = CartoDB::Application.config.log_level }
Loading…
Cancel
Save