diff options
author | Peter Palfrader <peter@palfrader.org> | 2003-01-14 06:40:24 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2003-01-14 06:40:24 +0000 |
commit | de0bd086333426c994a97addfcdfc7365c14fdf7 (patch) | |
tree | d3a8a50bb4a834ad6e2cc702cf34f4c4fcfd417b /doc | |
parent | e00e832d440e065e66858155264d0e79cfd3df23 (diff) |
Make logging configureable
redirect stdout/err to the logfile rather than "outfile" (nothing should ever get there);
redirect stderr to /dev/null when calling Mixmaster
Diffstat (limited to 'doc')
-rw-r--r-- | doc/pingd.conf.pod | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/pingd.conf.pod b/doc/pingd.conf.pod index 2ba3d0f..a012b4f 100644 --- a/doc/pingd.conf.pod +++ b/doc/pingd.conf.pod @@ -514,6 +514,29 @@ generated stats. Otherwise its content is copied in verbatim. =back +=head2 LOGGING + +=over + +=item B<logfile> + +File to write logs to. This file is reopened on SIGHUP. + + Default: 'logfile' => 'pingd.log', + Example: 'logfile' => '/var/log/echolot/pingd.log', + +=item B<loglevel> + +Minimum severity of messages to include in log file. Possible values are +B<debug>, B<info>, B<notice>, B<warning>, B<error>, B<critical>, B<alert>, and +B<emergency>. + + Default: 'loglevel' => 'info', + Example: 'loglevel' => 'debug', + +=back + + =head2 MISCELLANEOUS =over |