Hi,

i know this is in the examples section of syslog.conf(5), but i got
bitten by this again, so what do ppl thing about adding those 3 lines to
the default syslog.conf ?

wont push for this, was just taunted by someone "i would OK a diff to
add an example to the default syslog.conf" :)

Landry

Index: etc/syslog.conf
===================================================================
RCS file: /cvs/src/etc/syslog.conf,v
retrieving revision 1.19
diff -u -r1.19 syslog.conf
--- etc/syslog.conf     26 Nov 2015 15:25:14 -0000      1.19
+++ etc/syslog.conf     8 Dec 2016 08:39:21 -0000
@@ -1,6 +1,13 @@
 #      $OpenBSD: syslog.conf,v 1.19 2015/11/26 15:25:14 deraadt Exp $
 #
 
+# Uncomment these three lines to log messages from spamd(8) to its own
+# logfile, without being also logged in /var/log/daemon.
+# Note that the logfile has to be created beforehands.
+#!!spamd
+#daemon.info                                           /var/log/spamd
+#!*
+
 *.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none        
/var/log/messages
 kern.debug;syslog,user.info                            /var/log/messages
 auth.info                                              /var/log/authlog

Reply via email to