Add per run log rotate flag

This flag will use the normal file handler with a file name that has date + time + milliseconds
to create a new file each time the script is run
This commit is contained in:
Clemens Schwaighofer
2025-08-01 16:01:50 +09:00
parent 2f08ecabbf
commit 0df049d453
3 changed files with 28 additions and 10 deletions

View File

@@ -24,6 +24,7 @@ def main():
# "log_level_console": None,
"log_level_file": 'DEBUG',
# "console_color_output_enabled": False,
"per_run_log": True
}
)
logn = Logger(log.get_logger_settings())