Adjuested log_path under Windows
This commit is contained in:
parent
f30a6dd3db
commit
36e70c48ba
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ def update_log_path(dest_dir, dest_filename=''):
|
||||||
def start(config=None):
|
def start(config=None):
|
||||||
"""Configure and start logging using safe defaults."""
|
"""Configure and start logging using safe defaults."""
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
log_path = '{drive}/{short}/Logs/{date}/{full}/log_{datetime}.log'.format(
|
log_path = '{drive}/{short}/Logs/{date}/{full}/{datetime}.log'.format(
|
||||||
drive=os.environ.get('SYSTEMDRIVE', 'C:'),
|
drive=os.environ.get('SYSTEMDRIVE', 'C:'),
|
||||||
short=cfg.main.KIT_NAME_SHORT,
|
short=cfg.main.KIT_NAME_SHORT,
|
||||||
date=time.strftime('%Y-%m-%d'),
|
date=time.strftime('%Y-%m-%d'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue