From 6cb54c31ba5fbece491cbff22dd8b12ecbe525cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20M=C3=BCller?= Date: Fri, 5 Jan 2024 17:40:16 +0100 Subject: [PATCH] Chnage logging output --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 7082a6e..6770ec2 100644 --- a/app.py +++ b/app.py @@ -14,7 +14,7 @@ logging.basicConfig( # level=logging.ERROR, # level=logging.INFO, level=logging.DEBUG, - format="Start: " + str(dt.datetime.now()).replace(" ", "_") + " | %(asctime)s [%(levelname)s] %(message)s", + format=str(dt.datetime.now()).replace(" ", "_") + " | %(asctime)s [%(levelname)s] %(message)s", handlers=[ logging.FileHandler("/var/log/" + str(dt.datetime.today().strftime('%Y-%m-%d')) + "_-_cron.log"), logging.StreamHandler(sys.stdout)