From 8bcecb140314f535970a672767a4eb6c6314883d Mon Sep 17 00:00:00 2001 From: beck <> Date: Sat, 23 Apr 2005 17:34:52 +0000 Subject: [PATCH] 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@ --- src/etc/syslog.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/etc/syslog.conf b/src/etc/syslog.conf index dcf52252..0f924b0a 100644 --- a/src/etc/syslog.conf +++ b/src/etc/syslog.conf @@ -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 kern.debug;user.info;syslog.info /var/log/messages auth.info /var/log/authlog @@ -13,9 +12,15 @@ lpr.debug /var/log/lpd-errs mail.info /var/log/maillog #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 * # Uncomment to log to a central host named "loghost". You need to run