Browse Source

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_3_8
beck 19 years ago
parent
commit
8bcecb1403
1 changed files with 10 additions and 5 deletions
  1. +10
    -5
      src/etc/syslog.conf

+ 10
- 5
src/etc/syslog.conf View File

@ -1,7 +1,6 @@
# $OpenBSD: syslog.conf,v 1.13 2003/06/26 18:24:25 jmc Exp $
# $OpenBSD: syslog.conf,v 1.14 2005/04/23 17:34:52 beck Exp $
# #
*.err;kern.debug;auth.notice;authpriv.none;mail.crit /dev/console
*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages *.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages
kern.debug;user.info;syslog.info /var/log/messages kern.debug;user.info;syslog.info /var/log/messages
auth.info /var/log/authlog auth.info /var/log/authlog
@ -13,9 +12,15 @@ lpr.debug /var/log/lpd-errs
mail.info /var/log/maillog mail.info /var/log/maillog
#uucp.info /var/log/uucp #uucp.info /var/log/uucp
*.err root
*.notice;auth.debug root
*.alert root
# 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 * *.emerg *
# Uncomment to log to a central host named "loghost". You need to run # Uncomment to log to a central host named "loghost". You need to run


Loading…
Cancel
Save