[Bug 853247] [NEW] too long date format in /var/log/dpkg.log

Jérôme 853247 at bugs.launchpad.net
Sun Sep 18 14:32:09 UTC 2011


Public bug reported:

The /var/log/dpkg.log files has currently the below date format :
---
2011-09-18 16:12:27
---

It appears that changing it to a smaller one saves a lot of disk usage (I/O) as well as CPU/energy while rotating (logrotate) :
---
11-09-18 16:12:27
---
The above format decreases the log size by 3%.

However we can make it smaller :
---
09-18 16:12:27
---
The above change decreases the log size by 7%.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: dpkg 1.16.0~ubuntu7.1
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
Architecture: amd64
Date: Sun Sep 18 16:20:29 2011
InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: dpkg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/853247

Title:
  too long date format in /var/log/dpkg.log

Status in “dpkg” package in Ubuntu:
  New

Bug description:
  The /var/log/dpkg.log files has currently the below date format :
  ---
  2011-09-18 16:12:27
  ---

  It appears that changing it to a smaller one saves a lot of disk usage (I/O) as well as CPU/energy while rotating (logrotate) :
  ---
  11-09-18 16:12:27
  ---
  The above format decreases the log size by 3%.

  However we can make it smaller :
  ---
  09-18 16:12:27
  ---
  The above change decreases the log size by 7%.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: dpkg 1.16.0~ubuntu7.1
  ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic x86_64
  Architecture: amd64
  Date: Sun Sep 18 16:20:29 2011
  InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
  ProcEnviron:
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: dpkg
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list