TS-2703 Fix logging when there is no log file configured