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.)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]