From 07ec42357a66234e105c6274580c261269b78eb1 Mon Sep 17 00:00:00 2001 From: Joss Whittle Date: Thu, 4 Apr 2024 12:26:49 +0100 Subject: [PATCH] feat(controller-container): enable debug logging (#11) --- containers/controller/src/controller.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/containers/controller/src/controller.py b/containers/controller/src/controller.py index 9589d23..2ca849f 100644 --- a/containers/controller/src/controller.py +++ b/containers/controller/src/controller.py @@ -13,8 +13,10 @@ from controller.directory import LDAP from controller.sync import sync + +# TODO Set logging level programmatically logging.basicConfig( - level=logging.INFO, + level=logging.DEBUG, format="[%(asctime)s %(levelname)s %(filename)s:%(lineno)s %(funcName)s] %(message)s", )