From b58543c5d68c50d380ff8b8b4230950349edb077 Mon Sep 17 00:00:00 2001 From: Jan-Willem Manenschijn Date: Wed, 4 Aug 2021 14:30:45 +0200 Subject: [PATCH] Change logging to critical --- cc_library/py_scc/sciler/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc_library/py_scc/sciler/app.py b/cc_library/py_scc/sciler/app.py index d29ccad2..ac17f374 100644 --- a/cc_library/py_scc/sciler/app.py +++ b/cc_library/py_scc/sciler/app.py @@ -33,7 +33,7 @@ def __init__(self, config, device): os.mkdir("logs") filename = "logs/log-" + datetime.now().strftime("%d-%m-%YT--%H-%M-%S") + ".txt" logging.basicConfig( - level=logging.INFO, + level=logging.CRITICAL, format="%(asctime)s [%(levelname)-5.5s] %(message)s", handlers=[logging.FileHandler(filename=filename), logging.StreamHandler()], )