https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216756
Bug ID: 216756
Summary: syslog(3): example error log message should use
LOG_ERR level
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Created attachment 179567
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179567&action=edit
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
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"