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

Tags: #<Tag:0x00007f3253e32a88> #<Tag:0x00007f3253e329c0>

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.