if AppConfig[:enable_splunk_logging]
  require File.expand_path('../../../lib/log_overrider', __FILE__)
end

Rails.logger.class.send(:include, SplunkLogging)

if AppConfig[:enable_splunk_logging]
  require File.expand_path('../../../lib/log_overrider', __FILE__)
  Rails.logger.class.send(:include, SplunkLogging)
end


Move the include of splunklogging into the appconfig check
Move the include of splunklogging into the appconfig check
