Don't throw exception if logfile is not found

fixes #6035