Merge pull request #31690 from olivierlacan/no-verbose-query-logs-in-console
Only enable verbose_query_logs in Rails server
This commit is contained in:
commit
554dcc4c6e
@ -59,6 +59,7 @@ class Railtie < Rails::Railtie # :nodoc:
|
||||
console = ActiveSupport::Logger.new(STDERR)
|
||||
Rails.logger.extend ActiveSupport::Logger.broadcast console
|
||||
end
|
||||
ActiveRecord::Base.verbose_query_logs = false
|
||||
end
|
||||
|
||||
runner do
|
||||
|
Loading…
Reference in New Issue
Block a user