From 395ca690426c90ffa23fece4eb165825bff323d0 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Fri, 29 Apr 2016 16:07:23 +0800 Subject: [PATCH] Fix github issue #989, put the log of DHCP back to /var/log/messages --- xCAT/etc/rsyslog.d/xcat-debug.conf | 2 ++ xCAT/xCAT.spec | 1 + 2 files changed, 3 insertions(+) create mode 100644 xCAT/etc/rsyslog.d/xcat-debug.conf diff --git a/xCAT/etc/rsyslog.d/xcat-debug.conf b/xCAT/etc/rsyslog.d/xcat-debug.conf new file mode 100644 index 000000000..300fc8178 --- /dev/null +++ b/xCAT/etc/rsyslog.d/xcat-debug.conf @@ -0,0 +1,2 @@ +# By default, dhcpd use the ``daemon'' facility. Thus dhcp logs will go here. +daemon.debug /var/log/messages diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index fa2b7277e..555057c6a 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -252,6 +252,7 @@ exit 0 /etc/logrotate.d/xcat /etc/rsyslog.d/xcat-cluster.conf /etc/rsyslog.d/xcat-compute.conf +/etc/rsyslog.d/xcat-debug.conf /install/winpostscripts %endif %defattr(-,root,root)