Package: unattended-upgrades
Version: 0.82.8
Severity: normal

By default, unattended-upgrades seems to log the following to 
/var/log/unattended-upgrades/:

unattended-upgrades-shutdown.log (plus gzipped older logs as *.[1-7].gz)
unattended-upgrades.log (plus gzipped older logged as *.[1-7].gz)
unattended-upgrades-dpkg_(date).log (plus gzipped copies as *.1.gz)

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.

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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/debian-bugs-dist

Reply via email to