From d28d4734594349e64fadbdde3f1d598aea544f70 Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Thu, 25 Oct 2012 21:37:30 +0300 Subject: [PATCH] systemd: prevent duplicate logging messages in journal By default, both stderr and syslog messages go to the systemd journal, which results in duplicate messages being logged. Thanks to Vinicius Costa Gomes for pointing out this problem. --- dundee/dundee.service.in | 1 + src/ofono.service.in | 1 + 2 files changed, 2 insertions(+) diff --git a/dundee/dundee.service.in b/dundee/dundee.service.in index c57c6186..82c5ef13 100644 --- a/dundee/dundee.service.in +++ b/dundee/dundee.service.in @@ -6,6 +6,7 @@ After=syslog.target Type=dbus BusName=org.ofono.dundee ExecStart=@prefix@/sbin/dundee -n +StandardError=null [Install] WantedBy=multi-user.target diff --git a/src/ofono.service.in b/src/ofono.service.in index f4531a8d..c24ac280 100644 --- a/src/ofono.service.in +++ b/src/ofono.service.in @@ -6,6 +6,7 @@ After=syslog.target Type=dbus BusName=org.ofono ExecStart=@prefix@/sbin/ofonod -n +StandardError=null [Install] WantedBy=multi-user.target