From f47ad59316ddbfce0b24edac752222d300ed0da4 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 1 Nov 2014 14:33:01 -0400 Subject: 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. --- man/daemon.xml | 6 +++--- man/sd_journal_stream_fd.xml | 2 +- man/systemd-udevd.service.xml | 4 ++-- man/udev.conf.xml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'man') 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 fprintf(), 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 <4> (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 - printk() priority + printk() level system. For details, see sd-daemon3 and diff --git a/man/sd_journal_stream_fd.xml b/man/sd_journal_stream_fd.xml index c9ce7cdb22..045b3fb21e 100644 --- a/man/sd_journal_stream_fd.xml +++ b/man/sd_journal_stream_fd.xml @@ -90,7 +90,7 @@ syslog.h, see syslog3 for details. The third argument is a boolean: if true - kernel-style log priority level prefixes (such as + kernel-style log level prefixes (such as SD_WARNING) are interpreted, see sd-daemon3 for more information. diff --git a/man/systemd-udevd.service.xml b/man/systemd-udevd.service.xml index ab5c1636b2..05a178c53b 100644 --- a/man/systemd-udevd.service.xml +++ b/man/systemd-udevd.service.xml @@ -134,7 +134,7 @@ $UDEV_LOG= - Set the logging priority. + Set the log level. @@ -148,7 +148,7 @@ udev.log-priority= rd.udev.log-priority= - Set the logging priority. + Set the log level. diff --git a/man/udev.conf.xml b/man/udev.conf.xml index 16ad41e80e..988129f62c 100644 --- a/man/udev.conf.xml +++ b/man/udev.conf.xml @@ -69,7 +69,7 @@ udev_log - The logging priority. Valid values are the numerical + The log level. Valid values are the numerical syslog priorities or their textual representations: , and . -- cgit v1.2.3-54-g00ecf