Hello, I'm trying to understand how rsyslog is supposed to work within the genesis image.
In a booted node using genesis we've got : # cat /etc/rsyslog.conf $ModLoad imuxsock $ModLoad immark $MarkMessagePeriod 1200 *.emerg * screenlog.0 @192.168.132.2 First of all, I wonder where the screenlog.0 line comes from. I guess it is injected in the mknb stage, but I don't see how I can change that. Any idea ? I'd like to add a catchall line (*.* @192.168.132.2). It's working when I add it manually directory in the booted image after a reloading of the rsyslog configuration. Second, this configuration seems invalid. Here is the output of rsyslogd -4 -N 1 : # rsyslogd -4 -N 1 rsyslogd: version 5.8.10, config validation run (level 1), master config /etc/rsyslog.conf rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c5 as the first rsyslogd option. rsyslogd: unknown facility name "screenlog" [try http://www.rsyslog.com/e/3000 ] rsyslogd: the last error occured in /etc/rsyslog.conf, line 5:"screenlog.0 @192.168.132.2" rsyslogd: warning: selector line without actions will be discarded rsyslogd: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ] rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200 rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock Quite the same with -c5 : # rsyslogd -4 -N 1 -c5 rsyslogd: version 5.8.10, config validation run (level 1), master config /etc/rsyslog.conf rsyslogd: unknown facility name "screenlog" [try http://www.rsyslog.com/e/3000 ] rsyslogd: the last error occured in /etc/rsyslog.conf, line 5:"screenlog.0 @192.168.132.2" rsyslogd: warning: selector line without actions will be discarded rsyslogd: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 Maybe something like : $ModLoad imfile $InputFileName /screenlog.0 $InputFileTag screenlog: $InputFileStateFile stat-screenlog instead of the screenlog line ? I didn't try it though. Any advice ? Jean-Baptiste ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://makebettercode.com/inteldaal-eval _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
