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
Unknown Object (File)
Wed, Dec 10, 2:39 AM
Unknown Object (File)
Dec 1 2025, 9:56 PM
Unknown Object (File)
Nov 20 2025, 11:45 PM
Unknown Object (File)
Nov 20 2025, 11:43 PM
Unknown Object (File)
Nov 20 2025, 11:43 PM
Unknown Object (File)
Nov 20 2025, 11:40 PM
Unknown Object (File)
Nov 18 2025, 8:51 AM
Unknown Object (File)
Nov 18 2025, 1:49 AM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 11638
Build 11984: arc lint + arc unit

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.