Browse Source

Use comma only to separate facilities on the same level. Sort selector

lines on facility.  End sentences with a dot.  And some whitespace nits.
Matrix (debug mode) is equivalent.
ok otto millert
OPENBSD_3_8
camield 19 years ago
parent
commit
a749143786
1 changed files with 8 additions and 9 deletions
  1. +8
    -9
      src/etc/syslog.conf

+ 8
- 9
src/etc/syslog.conf View File

@ -1,8 +1,8 @@
# $OpenBSD: syslog.conf,v 1.15 2005/05/05 19:11:28 jmc Exp $
# $OpenBSD: syslog.conf,v 1.16 2005/05/24 15:32:21 camield Exp $
#
*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages
kern.debug;user.info;syslog.info /var/log/messages
kern.debug;syslog,user.info /var/log/messages
auth.info /var/log/authlog
authpriv.debug /var/log/secure
cron.info /var/cron/log
@ -14,26 +14,25 @@ mail.info /var/log/maillog
# Uncomment this line to send "important" messages to the system
# console: be aware that this could create lots of output.
# *.err;kern.debug;auth.notice;authpriv.none;mail.crit /dev/console
#*.err;auth.notice;authpriv.none;kern.debug;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
#*.notice;auth.debug root
# Everyone gets emergency messages.
*.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
# 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
# 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
#auth,daemon,syslog,user.info;authpriv,kern.debug @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
# respective log files. Matches are done based on the program name.
# Program-specific logs:
#!sudo
#*.* /var/log/sudo


Loading…
Cancel
Save