It would be nice to be able to use a command line argument to set which log levels should be printed to the log, and which ones shouldn't.
As it is this exporter writes a lot of rarely useful information to the system log.
A --loglevel flag to set whether INFO level log messages should be printed would be a simple solution to this, and is something many programs already support.
It would be nice to be able to use a command line argument to set which log levels should be printed to the log, and which ones shouldn't.
As it is this exporter writes a lot of rarely useful information to the system log.
A
--loglevel
flag to set whetherINFO
level log messages should be printed would be a simple solution to this, and is something many programs already support.I am aware that this was already mentioned in https://github.com/eko/pihole-exporter/issues/143#issuecomment-1528018727, but since that issue itself was about something else I chose to create a new issue for it regardless.
This exporter is currently the program writing the most log messages to my system log, and it just makes the system log needlessly hard to read.