On Fri, Aug 29, 2014 at 05:21:02PM +0300, Martin-Éric Racine wrote:
> Package: unattended-upgrades
> Version: 0.82.8
> Severity: normal

Thanks for your bugreport.
 
[..]
> While the number of older files kept as unattended-upgrades.log.[1-7].gz and 
> unattended-upgrades-shutdown.log.[1-7].gz remains reasonable, the sheer 
> quantity of dated log files quickly reaches a ridiculous amount. 
> Additionally, keeping gzipped copies of each dated log files seems excessive.
[..]

I changed the code in bzr now so that there is only a single
unattended-upgrades-dpkg.log with date/time headers similar to what
the /var/log/apt/term.log is doing. This will keep the number of logs
as small as for the other two log files. I'm not sure if I should keep
the logs using the date, it would be straightforward to add a option,
so if someone really feels like the individual file format has
advantages I could add it back.

Cheers,
 Michael


> As such, I am wondering whether there are configuration options to perform 
> the following:
> 
> 1) Output one's choice of clear/gzipped/both logs.
> 2) Delete dated logs older than NN months back.
> 
> If there are, the options listed in /etc/apt/apt.conf.d/50unattended-upgrades 
> configuration file don't make any mention of this.
> 
> Could you please document how this can be configured?
> 
> Thanks!
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing
>   APT policy: (1001, 'testing'), (1001, 'oldstable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 3.14-2-686-pae (SMP w/1 CPU core)
> Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages unattended-upgrades depends on:
> ii  apt                    1.0.6
> ii  apt-utils              1.0.6
> ii  debconf [debconf-2.0]  1.5.53
> ii  init-system-helpers    1.21
> ii  lsb-base               4.1+Debian13
> ii  lsb-release            4.1+Debian13
> ii  python3                3.4.1-1
> ii  python3-apt            0.9.3.8
> ii  ucf                    3.0030
> ii  xz-utils               5.1.1alpha+20120614-2
> 
> unattended-upgrades recommends no packages.
> 
> Versions of packages unattended-upgrades suggests:
> ii  bsd-mailx                          8.1.2-0.20131005cvs-1
> ii  nullmailer [mail-transport-agent]  1:1.13-1
> 
> -- debconf information:
> * unattended-upgrades/enable_auto_updates: true


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to