mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
This reverts commit 8e10878e1a37a608b0e1705bf9d0a06a295b8a63. 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