2014-11-25 16:59 GMT+02:00 Michael Vogt <m...@debian.org>: > On Mon, Nov 24, 2014 at 08:19:36PM +0200, Martin-Éric Racine wrote: >> 2014-11-24 12:27 GMT+02:00 Michael Vogt <m...@debian.org>: >> > On Sat, Nov 22, 2014 at 01:31:39PM +0200, Martin-Éric Racine wrote: >> >> 2) Please note that the change to a single log file did not fix what >> >> the initial bug report asked, which was to document how logging >> >> options can be configured. ;) >> > >> > Yeah, this is still outstanding I think. I updated README.md to >> > include a lot more options and its much better now (IMO) but >> > /etc/logrotate.d/unattended-upgrades is not documented yet. >> > >> > The logging defaults should be better and more consistent now at >> > least. >> >> They are not. Automated updates are run daily via CRON, while the >> logrotate file installed by unattended-upgrades is set for monthly >> rotates. This is precisely why since the logging functions have been >> re-writen, we get daily e-mails that show upgrades logs starting the >> previous months, instead of since the last time unattended-upgrades >> was executed (which tends to be yesterday, since we use cron.daily). > > Thanks for your reply. Am I reading this correctly that with version > 0.83.1 you still get the full logs? This version (uploaded yesterday) > was supposed to fix the problem and only mail you the current output > not the entire file. Does that not work for you? > > Thanks, > Michael
What I reported was against 0.83 patched with what you had attached to the bug. Here's what I get with 0.83.1: 8X----- Unattended upgrade returned: True Packages that were upgraded: imagemagick imagemagick-6.q16 imagemagick-common init init-system-helpers krb5-locales libgnutls-deb0-28 libgnutls-openssl27 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libmagickcore-6.q16-2 libmagickcore-6.q16-2-extra libmagickwand-6.q16-2 libnautilus-extension1a libperl5.20 nautilus nautilus-data perl perl-base perl-modules watchdog Package installation log: Log started: 2014-11-27 08:33:45 (Reading database ... 104233 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.22_ all.deb ... Unpacking init-system-helpers (1.22) over (1.21) ... Processing triggers for man-db (2.7.0.2-3) ... Setting up init-system-helpers (1.22) ... localepurge: Disk space freed in /usr/share/locale: 0 KiB localepurge: Disk space freed in /usr/share/man: 0 KiB Total disk space freed by localepurge: 0 KiB Log ended: 2014-11-27 08:34:00 Unattended-upgrades log: Initial blacklisted packages: Initial whitelisted packages: Starting unattended upgrades script Allowed origins are: ['origin=Debian,archive=jessie,label=Debian-Security', 'o=Debian,a=oldstable,label=Debian-Security', 'o=Debian,a=oldstable-updates', 'o=Debian,a=oldstable', 'o=Debian,a=stable,label=Debian-Security', 'o=Debian,a=stable-updates', 'o=Debian,a=stable', 'o=Debian,a=testing,label=Debian-Security', 'o=Debian,a=testing-updates', 'o=Debian,a=testing', 'o=Funkyware,a=testing,label=Funkyware-Security'] Packages that are auto removed: '' Packages that will be upgraded: imagemagick imagemagick-6.q16 imagemagick-common init init-system-helpers krb5-locales libgnutls-deb0-28 libgnutls-openssl27 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libmagickcore-6.q16-2 libmagickcore-6.q16-2-extra libmagickwand-6.q16-2 libnautilus-extension1a libperl5.20 nautilus nautilus-data perl perl-base perl-modules watchdog Writing dpkg log to '/var/log/unattended-upgrades/unattended-upgrades-dpkg.log' All upgrades installed 8X----- Sorry, but this hardly qualifies as a log. It only shows the intallation of one single package and a summary. :/ Martin-Éric -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/debian-bugs-dist