From e6473f1065e705c7a504561c3b5d2eb37905940a Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Fri, 17 Jul 2015 21:45:53 +0000 Subject: Add an example for doas(1) logging and drop sudo and chat. ok tedu@ rep@ --- etc/syslog.conf | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/etc/syslog.conf b/etc/syslog.conf index ab285102add..30ddddf66d7 100644 --- a/etc/syslog.conf +++ b/etc/syslog.conf @@ -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 @@ -31,10 +31,8 @@ mail.info /var/log/maillog #*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none @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: -#!sudo -#*.* /var/log/sudo -#!chat -#*.* /var/log/chat +#!doas +#*.* /var/log/doas -- cgit v1.2.3