|
(view this code in a separate window) # # Sample syslog.conf # # Breaks up syslog messages into separate # files based on facility and importance. # Log ALL messages to /var/log/messages # for easy scanning by log checkers *.debug /var/log/messages # write to terminals for really bad situations kern,daemon.crit /dev/console kern,daemon.crit root *.emerg * # Separate out other logs to be easier to read # Debug level for more important facilities kern.debug /var/log/kern.log mail.debug /var/log/mail.log daemon.debug /var/log/daemon.log auth.debug /var/log/auth.log syslog.debug /var/log/syslog.log authpriv.debug /var/log/authpriv.log ftp.debug /var/log/ftp.log # Log ALL messages to /var/log/messages # for easy scanning by log checkers *.debug /var/log/messages # write to terminals for really bad situations kern,daemon.crit /dev/console kern,daemon.crit root *.emerg * # Separate out other logs to be easier to read # Debug level for more important facilities kern.debug /var/log/kern.log mail.debug /var/log/mail.log daemon.debug /var/log/daemon.log auth.debug /var/log/auth.log syslog.debug /var/log/syslog.log authpriv.debug /var/log/authpriv.log ftp.debug /var/log/ftp.log
|