[Libreoffice-commits] online.git: loolwsd/loolwsd.xml.in
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Tue Sep 20 03:17:09 UTC 2016
loolwsd/loolwsd.xml.in | 10 ++++++++++
1 file changed, 10 insertions(+)
New commits:
commit 6f7115ebc6302abed9c50d89679d786f50ad3575
Author: Ashod Nakashian <ashod.nakashian at 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 <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at 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 @@
<logging>
<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" default="trace">trace</level>
+ <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 compression.">true</property>
+ <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 FileChannel.">10</property>
+ <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>
</logging>
<trace desc="Dump commands and notifications for replay" enable="true">
More information about the Libreoffice-commits
mailing list