Describe logging environment variable
This commit is contained in:
parent
83e3131ccb
commit
0fd58d07a2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user