summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2015-07-17 21:45:53 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2015-07-17 21:45:53 +0000
commite6473f1065e705c7a504561c3b5d2eb37905940a (patch)
tree9d1c27ffe61a8979ecba8e1ca3de598ea27e705e
parent382f6e2ab7fb469ffb7830ffc4c72763ea963b5f (diff)
Add an example for doas(1) logging and drop sudo and chat.
ok tedu@ rep@
-rw-r--r--etc/syslog.conf12
1 files 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