i never used logfile, removing
parent
7f44c3be73
commit
ba798dc5a6
|
@ -39,13 +39,6 @@ def sins():
|
|||
stream_handler.setFormatter(log_format)
|
||||
logger.addHandler(stream_handler)
|
||||
|
||||
if args.output:
|
||||
log_path = f'{args.output}/sins-{now}.log'
|
||||
file_handler = logging.FileHandler(log_path)
|
||||
file_handler.setLevel(log_level)
|
||||
file_handler.setFormatter(log_format)
|
||||
logger.addHandler(file_handler)
|
||||
|
||||
logger.info(now)
|
||||
|
||||
if args.output:
|
||||
|
|
Loading…
Reference in New Issue