summaryrefslogtreecommitdiffstats
path: root/misc-utils/logger.1
diff options
context:
space:
mode:
authorSami Kerola2014-06-23 22:26:02 +0200
committerSami Kerola2014-07-28 22:15:17 +0200
commit4c3ac8fe5291367b6e997e8febbad5d33175aca4 (patch)
tree0fc0e09428d6538134a38e8a618279a40aed9722 /misc-utils/logger.1
parentlogger: refactor long if clause (diff)
downloadkernel-qcow2-util-linux-4c3ac8fe5291367b6e997e8febbad5d33175aca4.tar.gz
kernel-qcow2-util-linux-4c3ac8fe5291367b6e997e8febbad5d33175aca4.tar.xz
kernel-qcow2-util-linux-4c3ac8fe5291367b6e997e8febbad5d33175aca4.zip
docs: make logger.1 facilities and levels easier to read
Most people read vertical list a lot quicker than horizontal. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/logger.1')
-rw-r--r--misc-utils/logger.161
1 files changed, 41 insertions, 20 deletions
diff --git a/misc-utils/logger.1 b/misc-utils/logger.1
index ea1e97dad..35d53c86e 100644
--- a/misc-utils/logger.1
+++ b/misc-utils/logger.1
@@ -160,32 +160,53 @@ to start with a hyphen (\-).
Write this \fImessage\fR to the log; if not specified, and the
.B \-f
flag is not provided, standard input is logged.
-.PP
+.SH RETURN VALUE
The
.B logger
utility exits 0 on success, and >0 if an error occurs.
-.PP
+.SH FACILITIES AND LEVELS
Valid facility names are:
-.IR auth , \ authpriv
-(for security information of a sensitive nature),
-.IR cron , \ daemon , \ ftp , \ kern
-(can't be generated from user process),
-.IR lpr , \ mail , \ news , \ security
-(deprecated synonym for
-.IR auth ), \ syslog , \ user , \ uucp ,
-and
-.IR local0 \ to \ local7 ,
-inclusive.
+.IP
+.TS
+tab(:);
+left l l.
+\fIauth\fR
+\fIauthpriv\fR:for security information of a sensitive nature
+\fIcron\fR
+\fIdaemon\fR
+\fIftp\fR
+\fIkern\fR:cannot be generated from user process
+\fIlpr\fR
+\fImail\fR
+\fInews\fR
+\fIsyslog\fR
+\fIuser\fR
+\fIuucp\fR
+\fIlocal0\fR
+ to:
+\fIlocal7\fR
+\fIsecurity\fR:deprecated synonym for \fIauth\fR
+.TE
.PP
Valid level names are:
-.IR alert , \ crit , \ debug , \ emerg , \ err , \ error
-(deprecated synonym for
-.IR err ), \ info , \ notice , \ panic
-(deprecated synonym for
-.IR emerg ), \ warning , \ warn
-(deprecated synonym for
-.IR warning ).
-For the priority order and intended purposes of these levels, see
+.IP
+.TS
+tab(:);
+left l l.
+\fIemerg\fR
+\fIalert\fR
+\fIcrit\fR
+\fIerr\fR
+\fIwarning\fR
+\fInotice\fR
+\fIinfo\fR
+\fIdebug\fR
+\fIpanic\fR:deprecated synonym for \fIemerg\fR
+\fIerror\fR:deprecated synonym for \fIerr\fR
+\fIwarn\fR:deprecated synonym for \fIwarning\fR
+.TE
+.PP
+For the priority order and intended purposes of these facilities and levels, see
.BR syslog (3).
.SH EXAMPLES
logger System rebooted