[libreoffice-online] 01/01: enable/fix logging
Rene Engelhard
rene at moszumanska.debian.org
Mon Feb 27 17:09:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
rene pushed a commit to branch master
in repository libreoffice-online.
commit 276e8445426ecbc3fcd4b57b33ad103a8d963f36
Author: Rene Engelhard <rene at debian.org>
Date: Mon Feb 27 18:09:17 2017 +0100
enable/fix logging
---
debian/patches/logs.diff | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 25 insertions(+)
diff --git a/debian/patches/logs.diff b/debian/patches/logs.diff
new file mode 100644
index 0000000..4cc419c
--- /dev/null
+++ b/debian/patches/logs.diff
@@ -0,0 +1,24 @@
+enable logging even without debug and make a debug build also use a standard path
+
+diff --git a/configure.ac b/configure.ac
+index 09a129b..3876aa8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -107,7 +107,7 @@ AS_IF([test "$enable_debug" = yes -a -n "$with_poco_libs"],
+
+ ENABLE_DEBUG=
+ LOOLWSD_LOGLEVEL="warning"
+-LOOLWSD_LOG_TO_FILE="false"
++LOOLWSD_LOG_TO_FILE="true"
+ LOOLWSD_LOGFILE="/var/log/loolwsd.log"
+ debug_msg="secure mode: product build"
+ if test "$enable_debug" = "yes"; then
+@@ -115,7 +115,7 @@ if test "$enable_debug" = "yes"; then
+ ENABLE_DEBUG=true
+ LOOLWSD_LOGLEVEL="trace"
+ LOOLWSD_LOG_TO_FILE="true"
+- LOOLWSD_LOGFILE="/tmp/loolwsd.log"
++ LOOLWSD_LOGFILE="/var/log/loolwsd.log"
+ debug_msg="low security debugging mode"
+ else
+ AC_DEFINE([ENABLE_DEBUG],0,[Whether to compile in some extra debugging support code and disable some security pieces])
diff --git a/debian/patches/series b/debian/patches/series
index 9f8b17b..dcaa96f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ lo-path.diff
no-werror.diff
etc-default.diff
ssl-dir.diff
+logs.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice-online.git
More information about the Pkg-openoffice-commits
mailing list