Add vm name to log files
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
6e4511d584
commit
68d50de1eb
|
@ -233,7 +233,7 @@ def dump_log(time: str) -> str:
|
|||
|
||||
_log_file: str = os.path.join(
|
||||
CONFIG["logs-dir"],
|
||||
f"{''.join(c.replace(' ', '-') for c in time if c not in special_characters)}.log",
|
||||
f"{STATE['vm']}-{''.join(c.replace(' ', '-') for c in time if c not in special_characters)}.log",
|
||||
)
|
||||
|
||||
log(f"Dumping chatlog to {_log_file!r}")
|
||||
|
|
Loading…
Reference in a new issue