DEV: Turn off ActiveRecord development color and query log by default.
It breaks logster.
This commit is contained in:
parent
fa21c03a1d
commit
a078feee07
|
@ -39,7 +39,7 @@ Discourse::Application.configure do
|
|||
|
||||
config.log_level = ENV['DISCOURSE_DEV_LOG_LEVEL'] if ENV['DISCOURSE_DEV_LOG_LEVEL']
|
||||
|
||||
if ENV['RAILS_VERBOSE_QUERY_LOGS'] != "0"
|
||||
if ENV['RAILS_VERBOSE_QUERY_LOGS'] != "1"
|
||||
config.active_record.verbose_query_logs = true
|
||||
end
|
||||
|
||||
|
@ -78,7 +78,7 @@ Discourse::Application.configure do
|
|||
end
|
||||
|
||||
config.after_initialize do
|
||||
if ENV["RAILS_COLORIZE_LOGGING"] != "0"
|
||||
if ENV["RAILS_COLORIZE_LOGGING"] != "1"
|
||||
config.colorize_logging = true
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue