scross01 / prometheus-klipper-exporter

Prometheus Exporter for Klipper
MIT License
51 stars 11 forks source link

configure log level? #17

Closed RURon closed 1 year ago

RURon commented 1 year ago

Hello, is there a way to modify the loglevel so you can control what is emitted to syslog? Mine is flooded with info messages so that I currently removed all logging from within rsyslog.conf by excluding the programname - not elegant.

Great tool otherwise!

scross01 commented 1 year ago

v0.9.0 adds a new -logging.level <level> command line option to set the specific log output level. You can set to Warn level to skip the Info level logs.