Hotfix logfile condition