Page MenuHomeFreeBSD

log to /var/log/daemon.log by default

Authored by swills on Sep 7 2019, 5:44 PM.



log daemon facility now that daemon(8) has syslog support which defaults to daemon facility, info priority

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

swills created this revision.Sep 7 2019, 5:44 PM
swills added a comment.EditedSep 7 2019, 5:50 PM

daemon(8) man page

     -s	syslog_priority
	     These priorities are accepted: emerg, alert, crit,	err, warning,
	     notice, info, and debug.  The default is info.

     -l	syslog_facility
	     These facilities are accepted: auth, authpriv, console, cron,
	     daemon, ftp, kern,	lpr, mail, news, ntp, security,	syslog,	user,
	     uucp, and local0, ..., local7.  The default is daemon.

A number of ports use daemon(8) and log to this facility, so logging it by default seems like a good idea.

swills updated this revision to Diff 61792.Sep 7 2019, 5:53 PM
swills updated this revision to Diff 61793.Sep 7 2019, 6:03 PM
swills edited the summary of this revision. (Show Details)
swills retitled this revision from log daemon(8) facility to log to /var/log/daemon.log by default.Sep 7 2019, 6:32 PM
bapt accepted this revision.Sep 8 2019, 8:25 AM
This revision is now accepted and ready to land.Sep 8 2019, 8:25 AM
swills set the repository for this revision to rS FreeBSD src repository.Sep 17 2019, 7:20 PM
This revision was automatically updated to reflect the committed changes.