From f0486171aea432d41f1598f6a69417699dce76e3 Mon Sep 17 00:00:00 2001 From: Lucas Hicks Date: Tue, 17 Oct 2023 22:48:40 +1000 Subject: [PATCH] Better config of logger messages. --- build/figurines/microcontroller_comms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/figurines/microcontroller_comms.py b/build/figurines/microcontroller_comms.py index 7ecd54f..8f5127f 100644 --- a/build/figurines/microcontroller_comms.py +++ b/build/figurines/microcontroller_comms.py @@ -33,8 +33,8 @@ # =========================== SERIAL HANDLING ================================== # +logging.basicConfig(level=logging.DEBUG, format="%(asctime)s %(levelname)s %(message)s") _LOGGER = logging.getLogger(__name__) -_LOGGER.setLevel(logging.DEBUG) def initialise_serial(port): global serialPort, connect_status