← Back to team overview

desktop-packages team mailing list archive

[Bug 840304] Re: /etc/logrotate.d/apport should not have compress option

 

It's currently recommended practice to compress logs, though; every
logrotate.d/ file that I have uses it.

If the logs are large, the compression saving is quite significant (it's
text, after all), and if the logs are very small, the I/O and CPU effort
hardly matter?

So I'm closing this as "wont fix" right  now. However, if you object,
I'm fine with reopening it.

** Changed in: apport (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/840304

Title:
  /etc/logrotate.d/apport should not have compress option

Status in “apport” package in Ubuntu:
  Won't Fix

Bug description:
  I think that log files compression lowers the system performance on
  desktop computers which have now enough disk space for storing old
  logs.

  The "nocompress" and "compress" options of logrotate configure 2
  different behaviours of logrotate.

  If the log file isn't compressed, 
  logrotate will just rename it to something like 'log_file_name.log.1'
  with quite no disk input/output.

  If the log file is compressed, 
  logrotate will read the file, compress it and rewrite the content into a new file with a name like 'log_file_name.log.1.gz'. 

  I think that files compression is a good tradeoff only in case the
  compressed files have a longer lifetime than the log files (i. e. man
  pages, documentation, fonts, Debian package files, ...).

  Drawbacks of log files compression :
  - increases disk input/output
  - increases cpu and memory usage
  - increases energy consumption
  - slightly decreases the disk lifetime

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: apport 1.20.1-0ubuntu5
  ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic x86_64
  Architecture: amd64
  Date: Sat Sep  3 14:34:12 2011
  InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
  PackageArchitecture: all
  ProcEnviron:
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/840304/+subscriptions