handle logoutput if there is no logfile