summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "."
;;