Move the include of splunklogging into the appconfig check
This commit is contained in:
parent
1bd7e1314f
commit
25752e9f93
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
if AppConfig[:enable_splunk_logging]
|
if AppConfig[:enable_splunk_logging]
|
||||||
require File.expand_path('../../../lib/log_overrider', __FILE__)
|
require File.expand_path('../../../lib/log_overrider', __FILE__)
|
||||||
|
Rails.logger.class.send(:include, SplunkLogging)
|
||||||
end
|
end
|
||||||
|
|
||||||
Rails.logger.class.send(:include, SplunkLogging)
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue