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
F132156595: D12420.id33719.diff
Tue, Oct 14, 7:01 AM
Unknown Object (File)
Tue, Sep 16, 6:59 AM
Unknown Object (File)
Aug 25 2025, 5:30 AM
Unknown Object (File)
Aug 20 2025, 4:12 PM
Unknown Object (File)
Aug 4 2025, 4:55 PM
Unknown Object (File)
Jul 22 2025, 6:57 AM
Unknown Object (File)
Jul 6 2025, 10:05 AM
Unknown Object (File)
Jul 5 2025, 7:01 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 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.