man: Update log-target documentation.

This commit is contained in:
Tanu Kaskinen 2012-12-17 07:46:04 +02:00 committed by Arun Raghavan
parent 299e32b767
commit e5155b4f50
2 changed files with 14 additions and 8 deletions

View file

@ -297,12 +297,15 @@ USA.
<option>
<p><opt>log-target=</opt> The default log target. Use either
<opt>stderr</opt>, <opt>syslog</opt> or <opt>auto</opt>. The
latter is equivalent to <opt>sylog</opt> in case
<opt>daemonize</opt> is enabled, otherwise to
<opt>stderr</opt>. Defaults to <opt>auto</opt>. The
<opt>--log-target</opt> command line option takes
precedence.</p>
<opt>stderr</opt>, <opt>syslog</opt>, <opt>auto</opt>,
<opt>file:PATH</opt> or <opt>newfile:PATH</opt>. <opt>auto</opt> is
equivalent to <opt>sylog</opt> in case <opt>daemonize</opt> is enabled,
otherwise to <opt>stderr</opt>. If set to <opt>file:PATH</opt>, logging
is directed to the file indicated by PATH. <opt>newfile:PATH</opt> is
otherwise the same as <opt>file:PATH</opt>, but existing files are never
overwritten. If the specified file already exists, a suffix is added to
the file name to avoid overwriting. Defaults to <opt>auto</opt>. The
<opt>--log-target</opt> command line option takes precedence.</p>
</option>
<option>

View file

@ -217,13 +217,16 @@ USA.
</option>
<option>
<p><opt>--log-target</opt><arg>={auto,syslog,stderr,file:PATH}</arg></p>
<p><opt>--log-target</opt><arg>={auto,syslog,stderr,file:PATH,newfile:PATH}</arg></p>
<optdesc><p>Specify the log target. If set to <arg>auto</arg>
(which is the default), then logging is directed to syslog when
<opt>--daemonize</opt> is passed, otherwise to
STDERR. If set to <arg>file:PATH</arg>, logging is directed to
the file indicated by PATH.</p></optdesc>
the file indicated by PATH. <arg>newfile:PATH</arg> is otherwise
the same as file:PATH, but existing files are never overwritten.
If the specified file already exists, a suffix is added to the
file name to avoid overwriting.</p></optdesc>
</option>
<option>