Not log these? or minimize logging of this?

vyos@bldg55-vyos:~$ ls -al /var/log/messages*
-rw-r----- 1 root adm  56330 Oct 23 12:58 /var/log/messages
-rw-r----- 1 root adm 263702 Oct 23 12:58 /var/log/messages.1
-rw-r----- 1 root adm 262447 Oct 23 12:58 /var/log/messages.2
-rw-r----- 1 root adm 263561 Oct 23 12:58 /var/log/messages.3
-rw-r----- 1 root adm 262444 Oct 23 12:58 /var/log/messages.4
-rw-r----- 1 root adm 266216 Oct 23 12:58 /var/log/messages.5
-rw-r----- 1 root adm 262486 Oct 23 12:58 /var/log/messages.6

vyos@bldg55-vyos:~$ grep -c 'Inserting' /var/log/messages*
/var/log/messages:268
/var/log/messages.1:1278
/var/log/messages.2:1233
/var/log/messages.3:1277
/var/log/messages.4:1231
/var/log/messages.5:1298
/var/log/messages.6:1233
Oct 23 12:57:57 bldg55-vyos pdns-recursor[2389]: msg="Inserting forward zone based on hosts file" subsystem="config" level="0" prio="Notice" tid="0" ts="1698080277.789" zone="CHRMBK-ABCDEFG012345.xyz.cbk.abc"

Oct 23 12:57:57 bldg55-vyos pdns-recursor[2389]: msg="Inserting reverse zone based on hosts file" subsystem="config" level="0" prio="Notice" tid="0" ts="1698080277.789" zone="204.63.120.10.in-addr.arpa"

I’m migrating more dhcp scopes here and

tail -F /var/log/messages | grep DHCP

or

tail -F /var/log/messages | grep dhcpd

just gets tons of:

tail: ‘/var/log/messages’ has been replaced; following new file

Thank you in advance

show log or using journalctl is the way to go for systemd infected distros.

pdns recursor logs bothered me too.

It updates hostfile every time a client connects to network and then it logs details of all connected clients instead of limiting logging to the client that just connected. It adds a lot of spam. I don’t know if there is a knob in pdns recursor to turn it down a bit

Out of the blue it doesnt seem to exist any particular setting related to that:

https://doc.powerdns.com/recursor/settings.html

Did you try changing loglevel to see if that changes anything in terms of amount of relative logs?

Yes you are right. There is no toggle to limit this and I have set loglevel=4 in pdns config to minimize it.