feat: time stamped logs files
This commit is contained in:
parent
c2114b593e
commit
8262fb9d4e
@ -165,9 +165,10 @@ class SessionStartOperator(bpy.types.Operator):
|
|||||||
datefmt='%H:%M:%S'
|
datefmt='%H:%M:%S'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
start_time = datetime.now().strftime('%Y_%m_%d_%H-%M-%S')
|
||||||
log_directory = os.path.join(
|
log_directory = os.path.join(
|
||||||
settings.cache_directory,
|
settings.cache_directory,
|
||||||
"multiuser_client.log")
|
f"multiuser_{start_time}.log")
|
||||||
|
|
||||||
os.makedirs(settings.cache_directory, exist_ok=True)
|
os.makedirs(settings.cache_directory, exist_ok=True)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user