diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-11-01 14:33:01 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-11-01 14:39:47 -0400 |
commit | f47ad59316ddbfce0b24edac752222d300ed0da4 (patch) | |
tree | d61ae73242e3fb4e3b2177d0048474f19b6bdaf4 /man/daemon.xml | |
parent | ee7122c0ec6aa11f02e9e8d94254b353f12d2c14 (diff) |
Use log "level" instead of "priority"
The term "priority" is misleading because higher levels have lower
priority. "Level" is clearer and shorter.
This commit touches only the textual descriptions, not function and variable
names themselves. "Priority" is used in various command-line switches and
protocol constants, so completly getting rid of "priority" is hard.
I also left "priority" in various places where the clarity suffered
when it was removed.
Diffstat (limited to 'man/daemon.xml')
-rw-r--r-- | man/daemon.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/daemon.xml b/man/daemon.xml index 99c75a7a18..5d3a9903da 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -328,14 +328,14 @@ to simply log to standard error via <function>fprintf()</function>, which is then forwarded to syslog by the - init system. If log priorities are + init system. If log levels are necessary, these can be encoded by prefixing individual log lines with strings like <literal><4></literal> (for log - priority 4 "WARNING" in the syslog + level 4 "WARNING" in the syslog priority scheme), following a similar style as the Linux kernel's - <function>printk()</function> priority + <function>printk()</function> level system. For details, see <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry> and |