Your message dated Mon, 6 Jun 2016 03:32:18 +0200
with message-id <[email protected]>
and subject line Re: Bug#773425: please increase default logrotate duration for 
/var/log/dpkg.log
has caused the Debian Bug report #773425,
regarding please increase default logrotate duration for /var/log/dpkg.log
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.)


-- 
773425: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773425
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.17.21
Severity: normal

The default logrotate settings for /var/log/dpkg.log (from
/etc/logrotate.d/dpkg) have "monthly 12", which grants a 1-year long history of
dpkg operations.

It would be desirable to have a longer history than that by default, ideally a
*complete* history, dating back to the original installation.

Considering how small dpkg.log usually is in comparison to other log files in
/var/log, doing so looks feasible. The disk usage would cap at few megabytes
for routinely updated stable machines over a 10-year period.

If you don't want to go unlimited history, bumping to a max of 10 years (maybe
increasing rotation period as well to 1 year) would be nice. Anything in
between would be nicer tha a 1-year long history only.


Thanks for considering!
Cheers.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-7+b2
ii  libc6        2.19-13
ii  liblzma5     5.1.1alpha+20120614-2+b3
ii  libselinux1  2.3-2
ii  tar          1.27.1-2+b1
ii  zlib1g       1:1.2.8.dfsg-2+b1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  1.0.9.4

-- no debconf information

--- End Message ---
--- Begin Message ---
On Mon, 2016-03-21 at 19:31:47 +0100, Guillem Jover wrote:
> On Thu, 2014-12-18 at 10:12:27 +0100, Stefano Zacchiroli wrote:
> > Package: dpkg
> > Version: 1.17.21
> > Severity: normal
> > 
> > The default logrotate settings for /var/log/dpkg.log (from
> > /etc/logrotate.d/dpkg) have "monthly 12", which grants a 1-year long 
> > history of
> > dpkg operations.
> > 
> > It would be desirable to have a longer history than that by default, 
> > ideally a
> > *complete* history, dating back to the original installation.
> 
> Given that the default logrotate config sets both weekly and rotate, not
> setting the intervals will make the entries use the defaults instead of
> unlimited, and I don't see a way to reset those values.
> 
> > Considering how small dpkg.log usually is in comparison to other log files 
> > in
> > /var/log, doing so looks feasible. The disk usage would cap at few megabytes
> > for routinely updated stable machines over a 10-year period.
> > 
> > If you don't want to go unlimited history, bumping to a max of 10 years 
> > (maybe
> > increasing rotation period as well to 1 year) would be nice. Anything in
> > between would be nicer tha a 1-year long history only.
> 
> This would diverge greatly from other log files, some of which might
> also be very tiny on normal installations. I also discussed this briefly
> with the apt maintainers and they didn't see the point in changing the
> apt log settings to have unified values across package manager software.
> And lastly if not for simple historical reasons, such long term data
> tends to be useless for stuff like bug tracking or reporting. Given all
> the above, I'm rather uncomfortable with changing the defaults
> 
> I think that if something like this needs to be done, it needs to be
> within a wider discussion on the default log rotation settings.
> Otherwise I'm inclined to just close this request.

And closing now.

Regards,
Guillem

--- End Message ---

Reply via email to