loolwsd/loolwsd.xml.in |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 6f7115ebc6302abed9c50d89679d786f50ad3575
Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk>
Date:   Mon Sep 19 20:52:05 2016 -0400

    loolwsd: added config for logging to file
    Change-Id: Ib4942af2e9875018fbb27e1666912ca8f8b4e901
    Reviewed-on: https://gerrit.libreoffice.org/29058
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/loolwsd/loolwsd.xml.in b/loolwsd/loolwsd.xml.in
index 6ddba26..56de388 100644
--- a/loolwsd/loolwsd.xml.in
+++ b/loolwsd/loolwsd.xml.in
@@ -21,6 +21,16 @@
         <color type="bool">true</color>
         <level type="string" desc="Can be 0-8, or none (turns off logging), 
fatal, critical, error, warning, notice, information, debug, trace" 
+        <file enable="false">
+            <property name="path" desc="Log file path.">loolwsd.log</property>
+            <property name="rotation" desc="Log file rotation strategy. See 
Poco FileChannel.">never</property>
+            <property name="archive" desc="Append either timestamp or number 
to the archived log filename.">timestamp</property>
+            <property name="compress" desc="Enable/disable log file 
+            <property name="purgeAge" desc="The maximum age of log files to 
preserve. See Poco FileChannel.">10 days</property>
+            <property name="purgeCount" desc="The maximum number of log 
archives to preserve. Use 'none' to disable purging. See Poco 
+            <property name="rotateOnOpen" desc="Enable/disable log file 
rotation on opening.">true</property>
+            <property name="flush" desc="Enable/disable flushing after each 
entry. May harm performance.">false</property>
+        </file>
     <trace desc="Dump commands and notifications for replay" enable="true">
Libreoffice-commits mailing list

Reply via email to