Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rsyslog config

8 views
Skip to first unread message

Tony van der Hoff

unread,
Nov 5, 2021, 10:18:09 AM11/5/21
to
Hi,

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

Cheers, Tony

Chris Elvidge

unread,
Nov 5, 2021, 10:37:04 AM11/5/21
to

Tony van der Hoff

unread,
Nov 5, 2021, 11:58:01 AM11/5/21
to
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

Chris Elvidge

unread,
Nov 5, 2021, 1:44:54 PM11/5/21
to
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


--
Chris Elvidge
England
0 new messages