Created attachment 179567 [details] patch The man page lists error levels and says that `LOG_ERR` should be used for errors. In the examples, there's an error being logged "foobar error: %m" (%m fills in the error message based on errno, so we're definitely logging an error here), but it's being logged at the `LOG_INFO` level. If it's an error, I think it should be at the `LOG_ERR` level. This is present in the latest base HEAD r313159
I've opened a review for it here: https://reviews.freebsd.org/D11824
A commit references this bug: Author: bcr Date: Sun Nov 5 18:24:31 UTC 2017 New revision: 325440 URL: https://svnweb.freebsd.org/changeset/base/325440 Log: The last example used LOG_INFO, but the message itself said error. Change to LOG_ERR to be less confusing. PR: 216756 Submitted by: Thomas Cort (linuxgeek@gmail.com) Reviewed by: noone (after 2 months) Differential Revision: https://reviews.freebsd.org/D11824 Changes: head/lib/libc/gen/syslog.3
I've just committed the change to HEAD. Sorry this has been unresolved for so long. PR closed, thanks for filing it.