i never used logfile, removing

master
JoYo 2019-02-21 01:55:16 +00:00
parent 7f44c3be73
commit ba798dc5a6
1 changed files with 0 additions and 7 deletions

View File

@ -39,13 +39,6 @@ def sins():
stream_handler.setFormatter(log_format) stream_handler.setFormatter(log_format)
logger.addHandler(stream_handler) 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) logger.info(now)
if args.output: if args.output: