Tag:dhcpd

  • How can CentOS modify dhcpd logs without recording them in system logs?

    Time:2019-9-23

    Edit DHCP service profile Vim/etc/dhcp/dhcpd.conf log-facility  local4; Edit rsyslog service configuration file, modify / var / log / messages to add local4.none, / var / log / messages Vim/etc/rsyslog.conf # Save dhcpd messages also to dhcpd.log local4.*                                                /var/log/dhcpd.log #*.info;mail.none;authpriv.none;cron.none       /var/log/messages *.info;mail.none;authpriv.none;cron.none;local4.none            /var/log/messages Restart rsyslog service service rsyslog restart Restart dhcpd service service dhcpd restart tail […]