mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 10:06:39 +00:00
Since commit 1219fdd23fb8602bb1029b96bb69cf4d746f0029, the rsyslog rule "*.debug /var/log/messages" is no longer added to rsyslog.conf on the MN. However, any rule ending with "/var/log/messages" is still commented out. This leads to xCAT removing all output to /var/log/messages, except for the daemon and ftp facilities that are enabled by /etc/rsyslog.d/xcat-debug.conf! This commit - stops commenting out rules ending with "/var/log/messages" in rsyslog.conf - stops adding adding the comment "#*.debug /var/log/messages" to rsyslog.conf - changes "daemon.debug" to "daemon.=debug" in xcat-debug.conf to avoid duplicate daemon log lines with most Linux distributions' default rsyslog.conf. The 'ftp.* rule in xcat-debug.conf is possibly no longer needed, and will lead to duplicate ftp messages with most distributions, but it is left untouched in this commit.