• rsyslog config

    From Tony van der Hoff@3:770/3 to All on Fri Nov 5 15:18:06 2021
    Hi,

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

    Cheers, Tony

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Elvidge@3:770/3 to Tony van der Hoff on Fri Nov 5 14:37:02 2021
    On 05/11/2021 02:18 pm, Tony van der Hoff wrote:
    Hi,

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

    Cheers, Tony


    https://lists.isc.org/pipermail/dhcp-users/2012-March/015214.html
    or https://dhcp-users.isc.narkive.com/6p5UtnfJ/dhcpd-conf-logging-statement-documentation

    may give you some clues

    --
    Chris Elvidge
    England

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Tony van der Hoff@3:770/3 to Chris Elvidge on Fri Nov 5 16:57:58 2021
    On 05/11/2021 15:37, Chris Elvidge wrote:
    On 05/11/2021 02:18 pm, Tony van der Hoff wrote:
    Hi,

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

    Cheers, Tony


    https://lists.isc.org/pipermail/dhcp-users/2012-March/015214.html
    or https://dhcp-users.isc.narkive.com/6p5UtnfJ/dhcpd-conf-logging-statement-documentation


    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
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Elvidge@3:770/3 to Tony van der Hoff on Fri Nov 5 17:44:50 2021
    On 05/11/2021 03:57 pm, Tony van der Hoff wrote:
    On 05/11/2021 15:37, Chris Elvidge wrote:
    On 05/11/2021 02:18 pm, Tony van der Hoff wrote:
    Hi,

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

    Cheers, Tony


    https://lists.isc.org/pipermail/dhcp-users/2012-March/015214.html
    or
    https://dhcp-users.isc.narkive.com/6p5UtnfJ/dhcpd-conf-logging-statement-documentation


    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


    --
    Chris Elvidge
    England

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)