Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2019 20:03:20 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352460 - in head/usr.sbin: newsyslog syslogd
Message-ID:  <201909172003.x8HK3K4P005909@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills (ports committer)
Date: Tue Sep 17 20:03:20 2019
New Revision: 352460
URL: https://svnweb.freebsd.org/changeset/base/352460

Log:
  log daemon.info to /var/log/daemon.log by default
  
  log daemon facility now that daemon(8) has syslog support which defaults to
  daemon facility, info priority
  
  Reviewed by:		bapt
  Approved by:		bapt
  Differential Revision:	https://reviews.freebsd.org/D21561

Modified:
  head/usr.sbin/newsyslog/newsyslog.conf
  head/usr.sbin/syslogd/syslog.conf

Modified: head/usr.sbin/newsyslog/newsyslog.conf
==============================================================================
--- head/usr.sbin/newsyslog/newsyslog.conf	Tue Sep 17 18:51:10 2019	(r352459)
+++ head/usr.sbin/newsyslog/newsyslog.conf	Tue Sep 17 20:03:20 2019	(r352460)
@@ -30,6 +30,7 @@
 /var/log/security			600  10	   1000	*     JC
 /var/log/utx.log			644  3	   *	@01T05 B
 /var/log/weekly.log			640  5	   *	$W6D0 JN
+/var/log/daemon				644  5	   1000	@0101T JC
 
 <include> /etc/newsyslog.conf.d/[!.]*.conf
 <include> /usr/local/etc/newsyslog.conf.d/[!.]*.conf

Modified: head/usr.sbin/syslogd/syslog.conf
==============================================================================
--- head/usr.sbin/syslogd/syslog.conf	Tue Sep 17 18:51:10 2019	(r352459)
+++ head/usr.sbin/syslogd/syslog.conf	Tue Sep 17 20:03:20 2019	(r352460)
@@ -14,6 +14,7 @@ cron.*						/var/log/cron
 !-devd
 *.=debug					/var/log/debug.log
 *.emerg						*
+daemon.info					/var/log/daemon.log
 # uncomment this to log all writes to /dev/console to /var/log/console.log
 # touch /var/log/console.log and chmod it to mode 600 before it will work
 #console.info					/var/log/console.log



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909172003.x8HK3K4P005909>