Include seconds in default log name

This commit is contained in:
2Shirt 2019-07-08 17:32:17 -06:00
parent ca67ed392f
commit b98397d491
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -65,7 +65,7 @@ def start(config=None):
log_path = '{}/{}_{}.log'.format(
log_dir,
cfg.main.KIT_NAME_FULL,
time.strftime('%Y-%m-%d_%H%M%z'),
time.strftime('%Y-%m-%d_%H%M%S%z'),
)
root_logger = logging.getLogger()