[Bug 1216312] [NEW] the log file should be compressed at creation time
Jérôme
1216312 at bugs.launchpad.net
Sat Aug 24 13:42:17 UTC 2013
Public bug reported:
The compression of /var/log/popularity-contest is done at least one time
when the log is being rotated.
The host user is usually not interested by the content of this file (he
can get the list of packages with more user friendly tools).
This file would possibly be compressed a second time, while sending it
to the recipient (email or http server).
We would make only the below change :
----------------------------
j at lt:~$ diff /etc/cron.daily/popularity-contest popularity-contest
30c30
< POPCON=/var/log/popularity-contest
---
> POPCON=/var/log/popularity-contest.gz
49c49
< savelog -c 7 popularity-contest >/dev/null
---
> savelog -c 7 -l popularity-contest.gz >/dev/null
67c67
< run_popcon > $POPCON
---
> run_popcon | gzip --best > $POPCON
j at lt:~$
----------------------------
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: popularity-contest 1.53ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-52.78-generic 3.2.48
Uname: Linux 3.2.0-52-generic i686
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: i386
Date: Sat Aug 24 15:02:41 2013
InstallationMedia: Xubuntu 12.04.2 LTS "Precise Pangolin" - Release i386 (20130213)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
LANGUAGE=fr:en
TERM=xterm
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: popularity-contest
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: popularity-contest (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 precise
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to popularity-contest in Ubuntu.
https://bugs.launchpad.net/bugs/1216312
Title:
the log file should be compressed at creation time
Status in “popularity-contest” package in Ubuntu:
New
Bug description:
The compression of /var/log/popularity-contest is done at least one
time when the log is being rotated.
The host user is usually not interested by the content of this file
(he can get the list of packages with more user friendly tools).
This file would possibly be compressed a second time, while sending it
to the recipient (email or http server).
We would make only the below change :
----------------------------
j at lt:~$ diff /etc/cron.daily/popularity-contest popularity-contest
30c30
< POPCON=/var/log/popularity-contest
---
> POPCON=/var/log/popularity-contest.gz
49c49
< savelog -c 7 popularity-contest >/dev/null
---
> savelog -c 7 -l popularity-contest.gz >/dev/null
67c67
< run_popcon > $POPCON
---
> run_popcon | gzip --best > $POPCON
j at lt:~$
----------------------------
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: popularity-contest 1.53ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-52.78-generic 3.2.48
Uname: Linux 3.2.0-52-generic i686
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: i386
Date: Sat Aug 24 15:02:41 2013
InstallationMedia: Xubuntu 12.04.2 LTS "Precise Pangolin" - Release i386 (20130213)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
LANGUAGE=fr:en
TERM=xterm
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: popularity-contest
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/popularity-contest/+bug/1216312/+subscriptions
More information about the foundations-bugs
mailing list