make splunk logging work correctly