All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marti Raudsepp <marti@juffo.org>
To: linux-bluetooth@vger.kernel.org
Cc: Marti Raudsepp <marti@juffo.org>
Subject: [PATCH] systemd: prevent duplicate logging messages in journal
Date: Wed, 10 Oct 2012 18:59:29 +0300	[thread overview]
Message-ID: <1349884769-5157-1-git-send-email-marti@juffo.org> (raw)

By default, both stdout and syslog messages go to the systemd journal,
which results in duplicate messages being logged.
---
 src/bluetooth.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in
index 2a576a3..a8442a9 100644
--- a/src/bluetooth.service.in
+++ b/src/bluetooth.service.in
@@ -5,6 +5,7 @@ Description=Bluetooth service
 Type=dbus
 BusName=org.bluez
 ExecStart=@prefix@/sbin/bluetoothd -n
+StandardOutput=null
 
 [Install]
 WantedBy=bluetooth.target
-- 
1.7.12.2


             reply	other threads:[~2012-10-10 15:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-10 15:59 Marti Raudsepp [this message]
2012-10-25  2:12 ` [PATCH] systemd: prevent duplicate logging messages in journal Vinicius Costa Gomes
2012-10-25 23:30 ` Marcel Holtmann
2012-10-25 18:37 Marti Raudsepp
2012-10-25 23:29 ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1349884769-5157-1-git-send-email-marti@juffo.org \
    --to=marti@juffo.org \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.