From 0fd58d07a2d0e25953e839563725d8537b8af023 Mon Sep 17 00:00:00 2001 From: Ollo Date: Sun, 22 Dec 2024 20:34:37 +0100 Subject: [PATCH] Describe logging environment variable --- ReadMe.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ReadMe.md b/ReadMe.md index 7978719..5a1ab07 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -39,6 +39,13 @@ Set the following parameter: ```docker run -t -i --device=/dev/ttyUSB0 -e SERIAL_DEVICE="/dev/ttyUSB0" -e MQTT_SERVER="192.168.x.y" -e MQTT_TOPIC="testtopic/" sha256:``` +Additional logging can be activated with the variable **PY_LOGGING** possible values are: +* DEBUG +* INFO +* WARNING +* ERROR +* CRITICAL + #### Execution via Docker Compose ``` # template docker-compose.yml