rsyslog config

Nov 05, 2021 Last reply: 4 years ago 3 Replies

Hi,



how can I prevent dhcpd logging each REQUEST and ACK it receives to the syslog?



Cheers, Tony


formatting link
formatting link
may give you some clues

Thanks for your help, Chris;

As I understand it, both links essentially say the same thing:

  • in dhcpd.conf, insert "log-facility local7"
  • in syslog.conf insert "local7.warn /var/log/syslog"

then reboot (?)

Sadly that fails to have any effect.

Do you, or anone else have any other suggestions, please?

Cheers, Tony

In syslog.conf Change local7.warn to local7.none on the /var/log/syslog line add a line local7.warn /var/log/dhcpd.log Or change local7.warn to local7. Try .error instead of .warn

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required