HA supervised: change DNS logging level (INFO -> WARN)

Hi !

I have installed HA supervised on a Raspberry Pi 4 with Debian Buster (aarch64).
The DNS docker container is logging with INFO level. There are too many writes on the SD card and theses messages are useless (for me :wink: ). I would want to reduce them setting the level to WARN. How can I achive this please ?


1 Like

I have the same question.
There is no added value for me to see that “A” and “AAAA” successfully did who knows what. Repeatedly.

[INFO] - 33459 "AAAA IN zz016h6zzzzzz88i1.api.met.no. udp 46 false 512" NOERROR qr,rd,ra,ad 118 0.012886042s
[INFO] - 1691 "A IN version.home-assistant.io. udp 43 false 512" NOERROR qr,rd,ra,ad 166 0.005056526s


https://github.com/home-assistant/plugin-dns/pull/18 will make it so it only logs errors unless coredns.json has debug:true.

1 Like

I see that the PR was merged but I still experience a lot of log writing with just INFO. I checked my coredns.json and it didn’t have any debug key, so I added one manually and set it to false and I still get lots of [INFO] messages on my logs.
Any ideas what to do?

I have the same problem, lots and lots of INFO messages in DNS logs. Any way around that?

1 Like