mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This reverts commit 8e10878e1a.
Something is broken on a friday so reverting first before I pick this up
again next Monday.
This commit is contained in:
committed by
GitHub
parent
8b963986b3
commit
92d7d24d0f
@@ -44,7 +44,6 @@ Discourse::Application.configure do
|
||||
|
||||
config.log_level = ENV["DISCOURSE_DEV_LOG_LEVEL"] if ENV["DISCOURSE_DEV_LOG_LEVEL"]
|
||||
|
||||
config.active_record.logger = nil if ENV["RAILS_DISABLE_ACTIVERECORD_LOGS"] == "1"
|
||||
config.active_record.verbose_query_logs = true if ENV["RAILS_VERBOSE_QUERY_LOGS"] == "1"
|
||||
|
||||
if defined?(BetterErrors)
|
||||
@@ -91,6 +90,8 @@ Discourse::Application.configure do
|
||||
end
|
||||
end
|
||||
|
||||
ActiveRecord::Base.logger = nil if ENV["RAILS_DISABLE_ACTIVERECORD_LOGS"] == "1"
|
||||
|
||||
if ENV["BULLET"]
|
||||
Bullet.enable = true
|
||||
Bullet.rails_logger = true
|
||||
|
||||
Reference in New Issue
Block a user