summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2015-11-18 19:50:02 +0100
committerRuben Pollan <meskio@sindominio.net>2015-11-18 19:55:27 +0100
commitebc748d6dbe366d82e601c94f4191718b310bfae (patch)
tree898b8deca8d4e2fde2257835ce340a7a345144e2
parent17545618c79478a104ca7be5dd601020f8749780 (diff)
[feat] Use syslog for logging
- Closes: #6859 - Related: #6942
-rw-r--r--changes/feature_6942_use_syslog1
-rw-r--r--pkg/leap-mx.init3
2 files changed, 2 insertions, 2 deletions
diff --git a/changes/feature_6942_use_syslog b/changes/feature_6942_use_syslog
new file mode 100644
index 0000000..ffa8f62
--- /dev/null
+++ b/changes/feature_6942_use_syslog
@@ -0,0 +1 @@
+- Use syslog for logging (Closes: #6859)
diff --git a/pkg/leap-mx.init b/pkg/leap-mx.init
index d38cc2c..0c66bc5 100644
--- a/pkg/leap-mx.init
+++ b/pkg/leap-mx.init
@@ -13,7 +13,6 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
PIDFILE=/var/run/leap_mx.pid
RUNDIR=/var/lib/leap_mx/
FILE=/usr/share/app/leap_mx.tac
-LOGFILE=/var/log/leap_mx.log
TWISTD_PATH=/usr/bin/twistd
[ -r /etc/default/leap_mx ] && . /etc/default/leap_mx
@@ -32,7 +31,7 @@ case "$1" in
--pidfile=$PIDFILE \
--rundir=$RUNDIR \
--python=$FILE \
- --logfile=$LOGFILE \
+ --syslog \
--prefix=leap-mx
echo "."
;;