From 4959555ff45a0665429c6a71ce7b5648a83c6d09 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 23 Sep 1999 04:37:32 +0000 Subject: update man page to document config file --- src/initlog.1 | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'src') 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 +Sets the default logging facility +.TP +.I priority +Sets the default logging priority +.TP +.I ignore +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) -- cgit v1.2.1