Describe logging environment variable

This commit is contained in:
Ollo 2024-12-22 20:34:37 +01:00
parent 83e3131ccb
commit 0fd58d07a2

View File

@ -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:``` ```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 #### Execution via Docker Compose
``` ```
# template docker-compose.yml # template docker-compose.yml