Your message dated Sun, 11 Dec 2016 11:28:58 +0100
with message-id <20161211102858.GF23539@bod>
and subject line Fixed in 0.92
has caused the Debian Bug report #781498,
regarding Support syslog
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
781498: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781498
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: unattended-upgrades
Version: 0.83.3
Severity: wishlist

unattended-upgrades outputs some lines to a logfile like this:

    2015-03-30 16:04:26,758 INFO Initial blacklisted packages:
    2015-03-30 16:04:26,759 INFO Starting unattended upgrades script
    2015-03-30 16:04:26,759 INFO Allowed origins are: 
['origin=Debian,archive=jessie,label=Debian-Security']
    2015-03-30 16:04:29,871 INFO No packages found that can be upgraded 
unattended

I can configure it to write to a different logfile,
but I can't configure it to write to syslog.

AFAICT that requires code change to use logging.SysLogHandler instead
of / as well as logging.StreamHandler.

offby1 of #python linked to some example code:
https://gist.githubusercontent.com/offby1/a6132065dafac2a57451/raw/051650f492ac8fd6fc1a62aa57bb18daad48173e/logging_helpers.py

(I want logs in syslog so logcheck can see them.
 Just pointing logcheck/syslog-summary at the existing file will
 result in weirdness because the timestamp formats are different.)

--- End Message ---
--- Begin Message ---
Hi,

this got fixed in u-u 0.92. Please use
Unattended-Upgrade::SyslogEnable "1" to enable it.

--- End Message ---

Reply via email to