Page MenuHomeFreeBSD

fix the misleading log facility used in devd/zfs.conf
ClosedPublic

Authored by avg on Sep 20 2017, 11:00 AM.
Tags
None
Referenced Files
F151173042: D12420.id33719.diff
Mon, Apr 6, 2:21 PM
Unknown Object (File)
Wed, Mar 25, 10:17 PM
Unknown Object (File)
Sun, Mar 22, 5:12 AM
Unknown Object (File)
Sat, Mar 21, 12:04 AM
Unknown Object (File)
Fri, Mar 20, 7:40 AM
Unknown Object (File)
Wed, Mar 18, 3:48 PM
Unknown Object (File)
Wed, Mar 18, 4:05 AM
Unknown Object (File)
Tue, Mar 17, 6:00 PM
Subscribers

Details

Summary

In general, the "kern" facility is reserved for the kernel use only.
If a program specifies that facility, then it is silently converted
to "user" facility.
So, using logger -p kern.xxx was both misleading and non-specific.

Thus, change the facility to local7, so that users can create
more adequate syslogd configurations.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

asomers added a subscriber: asomers.

Looks fine to me.

This revision is now accepted and ready to land.Sep 22 2017, 3:16 PM
This revision was automatically updated to reflect the committed changes.