Rsyslog is taking syslog into the 21st century

Fedora 8 ships with rsyslog as the default syslog daemon. It has some really nice features that will make a large aggregating syslog server much easier to maintain. In your /etc/rsyslog.conf file put the following line.

$template DynFile,"/var/log/%HOSTNAME%/%$NOW%.log"
*.*     -?DynFile

This will cause all your syslog messages to be sorted based on the hostname/date of the message.



Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 18.207.136.189
To prevent spam please submit by clicking the kitten: