Don't create log file if debugging isn't enabled