Blame SOURCES/0002-man-Update-log-target-documentation.patch

2b72d0
From e5155b4f505dbc39c54944e369237202f0b42bf6 Mon Sep 17 00:00:00 2001
2b72d0
From: Tanu Kaskinen <tanuk@iki.fi>
2b72d0
Date: Mon, 17 Dec 2012 07:46:04 +0200
2b72d0
Subject: [PATCH 2/7] man: Update log-target documentation.
2b72d0
2b72d0
---
2b72d0
 man/pulse-daemon.conf.5.xml.in | 15 +++++++++------
2b72d0
 man/pulseaudio.1.xml.in        |  7 +++++--
2b72d0
 2 files changed, 14 insertions(+), 8 deletions(-)
2b72d0
2b72d0
diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in
2b72d0
index c270d2b..744e94e 100644
2b72d0
--- a/man/pulse-daemon.conf.5.xml.in
2b72d0
+++ b/man/pulse-daemon.conf.5.xml.in
2b72d0
@@ -297,12 +297,15 @@ USA.
2b72d0
 
2b72d0
     <option>
2b72d0
       

<opt>log-target=</opt> The default log target. Use either

2b72d0
-      <opt>stderr</opt>, <opt>syslog</opt> or <opt>auto</opt>. The
2b72d0
-      latter is equivalent to <opt>sylog</opt> in case
2b72d0
-      <opt>daemonize</opt> is enabled, otherwise to
2b72d0
-      <opt>stderr</opt>. Defaults to <opt>auto</opt>. The
2b72d0
-      <opt>--log-target</opt> command line option takes
2b72d0
-      precedence.

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

2b72d0
     </option>
2b72d0
 
2b72d0
     <option>
2b72d0
diff --git a/man/pulseaudio.1.xml.in b/man/pulseaudio.1.xml.in
2b72d0
index c556bda..12f05e8 100644
2b72d0
--- a/man/pulseaudio.1.xml.in
2b72d0
+++ b/man/pulseaudio.1.xml.in
2b72d0
@@ -217,13 +217,16 @@ USA.
2b72d0
     </option>
2b72d0
 
2b72d0
     <option>
2b72d0
-      

<opt>--log-target</opt><arg>={auto,syslog,stderr,file:PATH}</arg>

2b72d0
+      

<opt>--log-target</opt><arg>={auto,syslog,stderr,file:PATH,newfile:PATH}</arg>

2b72d0
 
2b72d0
       <optdesc>

Specify the log target. If set to <arg>auto</arg>

2b72d0
       (which is the default), then logging is directed to syslog when
2b72d0
       <opt>--daemonize</opt> is passed, otherwise to
2b72d0
       STDERR. If set to <arg>file:PATH</arg>, logging is directed to
2b72d0
-      the file indicated by PATH.

</optdesc>
2b72d0
+      the file indicated by PATH. <arg>newfile:PATH</arg> is otherwise
2b72d0
+      the same as file:PATH, but existing files are never overwritten.
2b72d0
+      If the specified file already exists, a suffix is added to the
2b72d0
+      file name to avoid overwriting.

</optdesc>
2b72d0
     </option>
2b72d0
 
2b72d0
     <option>
2b72d0
-- 
2b72d0
1.8.1.4
2b72d0