ML-8 Create Loging System
fixed comparison of log_name (if  log_name is None instead oflog_name = None)