From ae5581c509f131ece3f7ccb42e461080462a3c41 Mon Sep 17 00:00:00 2001 From: Chris Nutter Date: Fri, 10 Jan 2025 11:29:05 -0800 Subject: [PATCH] Update app.py --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index acced2f..af0e0b4 100644 --- a/app.py +++ b/app.py @@ -93,7 +93,7 @@ END:VCALENDAR # Usage example if __name__ == "__main__": - logger.add("output.log", backtrace=True, colorize=True, diagnose=True) + logger.add("output_{time}.log", format="{name} {message}", level="DEBUG", rotation="5 MB", backtrace=True, colorize=True, diagnose=True) if len(sys.argv) != 7: logger.exception{"Usage: python3 app.py [OPTIONAL] "}