Browse Source

Sample lines for sudo and chat using !progname syntax

OPENBSD_2_7
millert 24 years ago
parent
commit
58ab2921de
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      src/etc/syslog.conf

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

@ -1,4 +1,4 @@
# $OpenBSD: syslog.conf,v 1.5 1997/05/29 20:00:54 deraadt Exp $
# $OpenBSD: syslog.conf,v 1.6 2000/04/02 21:39:42 millert Exp $
#
*.err;kern.debug;auth.notice;authpriv.none;mail.crit /dev/console
@ -12,7 +12,6 @@ ftp.info /var/log/xferlog
lpr.debug /var/log/lpd-errs
mail.info /var/log/maillog
local0.info /var/log/ipflog
#local2.debug /var/log/chat
#uucp.info /var/log/uucp
*.err root
@ -28,3 +27,11 @@ local0.info /var/log/ipflog
#*.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

Loading…
Cancel
Save