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 | |
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')
-rw-r--r-- | man/daemon.xml | 6 | ||||
-rw-r--r-- | man/sd_journal_stream_fd.xml | 2 | ||||
-rw-r--r-- | man/systemd-udevd.service.xml | 4 | ||||
-rw-r--r-- | man/udev.conf.xml | 2 |
4 files changed, 7 insertions, 7 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 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 @@ <filename>syslog.h</filename>, see <citerefentry project='man-pages'><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry> 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 <constant>SD_WARNING</constant>) are interpreted, see <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry> for more information.</para> 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 @@ <varlistentry> <term><varname>$UDEV_LOG=</varname></term> <listitem> - <para>Set the logging priority.</para> + <para>Set the log level.</para> </listitem> </varlistentry> </variablelist> @@ -148,7 +148,7 @@ <term><varname>udev.log-priority=</varname></term> <term><varname>rd.udev.log-priority=</varname></term> <listitem> - <para>Set the logging priority.</para> + <para>Set the log level.</para> </listitem> </varlistentry> <varlistentry> 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 @@ <term><varname>udev_log</varname></term> <listitem> - <para>The logging priority. Valid values are the numerical + <para>The log level. Valid values are the numerical syslog priorities or their textual representations: <option>err</option>, <option>info</option> and <option>debug</option>.</para> |