Page MenuHomeFreeBSD

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

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

Details

Summary

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

Diff Detail

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

Event Timeline

swills created this revision.Sat, Sep 7, 5:44 PM
swills added a comment.EditedSat, Sep 7, 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.Sat, Sep 7, 5:53 PM
swills updated this revision to Diff 61793.Sat, Sep 7, 6:03 PM
swills edited the summary of this revision. (Show Details)
swills retitled this revision from log daemon(8) facility to log daemon.info to /var/log/daemon.log by default.Sat, Sep 7, 6:32 PM
bapt accepted this revision.Sun, Sep 8, 8:25 AM
This revision is now accepted and ready to land.Sun, Sep 8, 8:25 AM
swills set the repository for this revision to rS FreeBSD src repository.Tue, Sep 17, 7:20 PM
This revision was automatically updated to reflect the committed changes.