这是indexloc提供的服务,不要输入任何密码

Debian Bug report logs - #781324
dpkg: Please add support for logging to syslog

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Petr Šťastný <petr@stastny.eu>

Date: Fri, 27 Mar 2015 14:51:01 UTC

Severity: wishlist

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#781324; Package dpkg. (Fri, 27 Mar 2015 14:51:06 GMT) (full text, mbox, link).


Acknowledgement sent to Petr Šťastný <petr@stastny.eu>:
New Bug report received and forwarded. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Fri, 27 Mar 2015 14:51:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Petr Šťastný <petr@stastny.eu>
To: submit@bugs.debian.org
Subject: Feature request: dpkg logging to syslog
Date: Fri, 27 Mar 2015 15:46:08 +0100
Package: dpkg

At the moment, dpkg writes its actitivity to file /var/log/dpkg.log
(path can be changed with --log option), which seems to be the only option.

"man dpkg" does not say anything about syslog logging option.

Is it possible to add a feature to be able to send events to syslog
(rsyslog) process instead writing to file?



Information forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#781324; Package dpkg. (Fri, 27 Mar 2015 16:57:13 GMT) (full text, mbox, link).


Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Fri, 27 Mar 2015 16:57:13 GMT) (full text, mbox, link).


Message #10 received at 781324@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: Petr Šťastný <petr@stastny.eu>, 781324@bugs.debian.org
Subject: Re: Bug#781324: Feature request: dpkg logging to syslog
Date: Fri, 27 Mar 2015 17:54:55 +0100
Control: severity -1 wishlist

Hi!

On Fri, 2015-03-27 at 15:46:08 +0100, Petr Šťastný wrote:
> Package: dpkg

> At the moment, dpkg writes its actitivity to file /var/log/dpkg.log
> (path can be changed with --log option), which seems to be the only option.
> 
> "man dpkg" does not say anything about syslog logging option.
> 
> Is it possible to add a feature to be able to send events to syslog
> (rsyslog) process instead writing to file?

Yes, I guess I could add that, should not be much work.

Thanks,
Guillem



Severity set to 'wishlist' from 'normal' Request was from Guillem Jover <guillem@debian.org> to 781324-submit@bugs.debian.org. (Fri, 27 Mar 2015 16:57:13 GMT) (full text, mbox, link).


Changed Bug title to 'dpkg: Please add support for logging to syslog' from 'Feature request: dpkg logging to syslog' Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sun, 29 Mar 2015 00:03:24 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#781324; Package dpkg. (Tue, 07 Jun 2016 20:30:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Herold <quabla@hemio.de>:
Extra info received and forwarded to list. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Tue, 07 Jun 2016 20:30:03 GMT) (full text, mbox, link).


Message #19 received at 781324@bugs.debian.org (full text, mbox, reply):

From: Michael Herold <quabla@hemio.de>
To: 781324@bugs.debian.org
Subject: Re: Bug#781324: Feature request: dpkg logging to syslog
Date: Tue, 07 Jun 2016 22:20:33 +0200
[Message part 1 (text/plain, inline)]
Would be really nice to have this in stretch.

Not sure if there is a safe way to leave the syslog open. The following
patch works for me (--log syslog).
[syslog.patch (text/x-patch, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jul 29 07:50:46 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.