Browse Source

Add an example for doas(1) logging and drop sudo and chat.

ok tedu@ rep@
OPENBSD_5_8
ajacoutot 9 years ago
parent
commit
56a4837fb4
1 changed files with 5 additions and 7 deletions
  1. +5
    -7
      src/etc/syslog.conf

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

@ -1,4 +1,4 @@
# $OpenBSD: syslog.conf,v 1.17 2005/05/25 07:35:38 david Exp $
# $OpenBSD: syslog.conf,v 1.18 2015/07/17 21:45:52 ajacoutot Exp $
# #
*.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
@ -31,10 +31,8 @@ mail.info /var/log/maillog
#*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none @loghost #*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none @loghost
#auth,daemon,syslog,user.info;authpriv,kern.debug @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.
# Uncomment to log messages from doas(1) to its own log file. Matches are done
# based on the program name.
# Program-specific logs: # Program-specific logs:
#!sudo
#*.* /var/log/sudo
#!chat
#*.* /var/log/chat
#!doas
#*.* /var/log/doas

Loading…
Cancel
Save