aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-23 04:37:32 +0000
committerBill Nottingham <notting@redhat.com>1999-09-23 04:37:32 +0000
commit4959555ff45a0665429c6a71ce7b5648a83c6d09 (patch)
tree04c2534521a040cda3a1c8848ee3f925513e896d
parentefeda983b70a1eb70164bbcfbb42b30c43db2bfd (diff)
downloadinitscripts-4959555ff45a0665429c6a71ce7b5648a83c6d09.tar
initscripts-4959555ff45a0665429c6a71ce7b5648a83c6d09.tar.gz
initscripts-4959555ff45a0665429c6a71ce7b5648a83c6d09.tar.bz2
initscripts-4959555ff45a0665429c6a71ce7b5648a83c6d09.tar.xz
initscripts-4959555ff45a0665429c6a71ce7b5648a83c6d09.zip
update man page to document config file
-rw-r--r--src/initlog.126
1 files changed, 24 insertions, 2 deletions
diff --git a/src/initlog.1 b/src/initlog.1
index 103ef3fd..f0c5c8cf 100644
--- a/src/initlog.1
+++ b/src/initlog.1
@@ -7,7 +7,24 @@ initlog \- log messages and events to the system logger
[\-\-name=ARG] [\-\-priority=ARG] [\-\-run=ARG] [\-\-string=ARG]
.SH DESCRIPTION
\fBinitlog\fR logs messages and events to the system logger.
-It is mainly designed for use in init scripts.
+It is mainly designed for use in init scripts. initlog
+reads a configuration file
+.I /etc/initlog.conf
+by default, to determine its settings. Any line preceded with a
+.I #
+is a comment, and the following configuration directives
+are recognized:
+.TP
+.I facility <logging facility>
+Sets the default logging facility
+.TP
+.I priority <logging priority>
+Sets the default logging priority
+.TP
+.I ignore <regexp>
+Messages that match the regular expression will not be logged.
+.TP
+initlog behavior can also be configured by command-line options.
.SS OPTIONS
.TP
@@ -42,7 +59,12 @@ Execute the specified program, with an open file
descriptor so that the program can pass back
commands to initlog.
.TP
-.I "\-s, \-\-string=[string]
+.I "\-s, \-\-string=[string]"
Log the specified string to the logger.
+.TP
+.I "\-\-conf=[file]"
+Specifies an alternate configuration file.
+.SH FILES
+.I /etc/initlog.conf
.SH "SEE ALSO"
syslog(3), logger(1)