From 56a4837fb4b192edcbaea9d73c19573ecf0488e8 Mon Sep 17 00:00:00 2001 From: ajacoutot <> Date: Fri, 17 Jul 2015 21:45:52 +0000 Subject: [PATCH] Add an example for doas(1) logging and drop sudo and chat. ok tedu@ rep@ --- src/etc/syslog.conf | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/etc/syslog.conf b/src/etc/syslog.conf index ab285102..30ddddf6 100644 --- a/src/etc/syslog.conf +++ b/src/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