kpetremann / mqtt-exporter

Simple generic MQTT Prometheus exporter for IoT working out of the box
https://hub.docker.com/r/kpetrem/mqtt-exporter
MIT License
103 stars 29 forks source link

LOG_LEVEL #21

Closed geooogle closed 2 years ago

geooogle commented 2 years ago

Hello, and I love your image!!

Was wondering what the level options for LOG_LEVEL are? I was looking for scraping everything from my broker, kinda like verbose. I didnt look hard enough in your code but I tried to find how to export basically #. thank you! and great app

kpetremann commented 2 years ago

Hello @geooogle,

Thanks.

LOG_LEVEL can be one of these values: DEBUG, INFO, WARNING, ERROR, CRITICAL

FYI, they can be found here: https://docs.python.org/3/library/logging.html#logging-levels (you don't need to put the numeric value, the string value is enough)

geooogle commented 2 years ago

Merci. I appreciate this!