File: [local] / src / etc / syslog.conf (download)
Revision 1.14, Sat Apr 23 17:34:52 2005 UTC (19 years, 1 month ago) by beck
Branch: MAIN
Changes since 1.13: +10 -5 lines
Make the default syslog.conf not make the console and root logins
unusable when problems occur. Provide commented out examples showing
people how to direct output to /dev/console or as messages to root,
for situations where such output might acutally be useful, rather than
something that keeps you from fixing a problem due to the screen
getting spewed at.
ok jolan@ ian@ brad@ marco@ krw@ fgsch@
|
# $OpenBSD: syslog.conf,v 1.14 2005/04/23 17:34:52 beck Exp $
#
*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages
kern.debug;user.info;syslog.info /var/log/messages
auth.info /var/log/authlog
authpriv.debug /var/log/secure
cron.info /var/cron/log
daemon.info /var/log/daemon
ftp.info /var/log/xferlog
lpr.debug /var/log/lpd-errs
mail.info /var/log/maillog
#uucp.info /var/log/uucp
# Uncomment this line to send "important" messages to the system
# console, beware that this could create lots of output.
# *.err;kern.debug;auth.notice;authpriv.none;mail.crit /dev/console
# Uncomment this to have all messages of notice level and higher
# as well as all authentication messages sent to root.
# *.notice;auth.debug root
# Everyone gets emergency messages.
*.emerg *
# Uncomment to log to a central host named "loghost". You need to run
# syslogd with the -u option on the remote host if you are using this.
# (This is also required to log info from things like routers and
# ISDN-equipment). If you run -u, you are vulnerable to syslog bombing,
# and should consider blocking external syslog packets
#*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none @loghost
#kern.debug,user.info,syslog.info @loghost
#auth.info,authpriv.debug,daemon.info @loghost
# Uncomment to log messages from sudo(8) and chat(8) to their own
# respective log files. Matches are done based on the program name
# Program-specific logs:
#!sudo
#*.* /var/log/sudo
#!chat
#*.* /var/log/chat