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

```

Revert "Move the include of splunklogging into the appconfig check"
user
```ruby
if AppConfig[:enable_splunk_logging]
  require File.expand_path('../../../lib/log_overrider', __FILE__)
end

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