Hi, I have a question about separate logs order configuration. I have 4 machines with hostnames server, storage, client1 and client2. The rsyslogs is running at server. The configuration looks like that:
$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command) $ModLoad imklog.so # provides kernel logging support (previously done by rklogd) $ModLoad imtcp.so $InputTCPServerRun 514 $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat $template DynFile,"/var/log/system-%HOSTNAME%.log" :source , !isequal , "localhost" ?DynFile & ~ *.info;mail.none;authpriv.none;cron.none /var/log/messages authpriv.* /var/log/secure mail.* -/var/log/maillog cron.* /var/log/cron *.emerg * uucp,news.crit /var/log/spooler local7.* /var/log/boot.log And in other machines the configuration looks like this: $ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command) $ModLoad imklog.so # provides kernel logging support (previously done by rklogd) $ModLoad imtcp.so $InputTCPServerRun 514 $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat *.* @@server.herdingcat.internal *.info;mail.none;authpriv.none;cron.none /var/log/messages authpriv.* /var/log/secure mail.* -/var/log/maillog cron.* /var/log/cron *.emerg * uucp,news.crit /var/log/spooler local7.* /var/log/boot.log /var/log/system-storage.log, /var/log/system-client1.log, /var/log/system-client2.log created successfully and it works well but there's also a log file /var/log/system-server.log created. I hope server's log is still recorded under /var/log/messages not separated. So I'm wondering is there any good method to achieve that function? Thanks very much. Regards, Eric _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

