syslog(3) inconsistency
Am 24.03.2017 15:40, schrieb Michael Kerrisk (man-pages):
Quoted 13 lines
Hello Ian,
Quoted 5 lines · Ian Abbott
Hi,
The first parameter of
syslog()is calledpriorityin the man-page, except in the breakdown of the possible log levels, where it is calledlevel.Your report doesn't say clearly which pieces of text you find to be incorrect, but I wonder if you have missed this sentence in the man page:
Quoted 6 lines
The priority argument is formed by ORing the facility and the level values (explained below).
If you still think there's a problem in the man page, could you please describe the problem in more detail.
I thing i have an idea what he is talking about. One option os simply repeating the priority=(facility|level) sentence as below. Otherwise a simple example would also be helpful.
re,
wh
syslog.3 renamed from syslog.3.org +9 -0
@@ -167,6 +167,15 @@ .TP .B LOG_PID Include PID with each message. + +.in 3 +The +.B priority +argument is formed by ORing the +.I facility +and the +.I level +values (explained below). .SS facility The .I facility
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html