Hacking Linux Exposed

About
Authors
Contents
Reviews
Foreword
Purchase

Articles
Books
Sourcecode
Tools
Errata

Home

 


(view this code in a separate window)

# 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

# Notice fine for others
user.notice			/var/log/user.log
lpr.notice			/var/log/lpr.log
news.notice			/var/log/news.log
uucp.notice			/var/log/uucp.log
cron.notice			/var/log/cron.log
local0,local1,local2.notice	/var/log/local.log
local3,local4,local5.notice	/var/log/local.log
local6.notice,local7.notice	/var/log/local.log