[Bug 643] klogd logs message tagged with user.xxx
bugzilla at busybox.net
bugzilla at busybox.net
Wed Apr 7 22:42:49 UTC 2010
https://bugs.busybox.net/show_bug.cgi?id=643
--- Comment #12 from Denys Vlasenko <vda.linux at googlemail.com> 2010-04-07 22:42:48 UTC ---
> which is that some applications
provide 0 as a valid default value which translates to LOG_USER.
"man openlog" actually does not say that 0 is a valid value.
It only mentions "default" in this part:
LOG_USER (default)
generic user-level messages
which might be interpreted as "if you don't call openlog() before you use
syslog(), LOG_USER is used as facility by default".
I searched for applications which use literal 0 as facility in openlog() call
using Google code search, and I found literally one or two such programs in
entire open source world. Vast majority properly uses LOG_foo constants.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list