if log filename is disable, then the log files will not be created and logging is disabled