Currently, our application writes logs to Splunk, and we don\'t write to a file.
We have a new requirement whereby I need to write logs to a file when, and only when,