/var/log/dmesg : 12 characters used for time representation

Bug #1273247 reported by Jérôme
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)
New
Undecided
Unassigned

Bug Description

I noticed that the /var/log/dmesg log reserves 12 characters for time representation as in the below example :
---
[ 30.445915] fb0: VESA VGA frame buffer device
---

Why not using an other base for number representation ?

A base 36 representation will use only 9 characters :
---
[ U.9K2J] fb0: VESA VGA frame buffer device
---

A base 62 representation will use only 8 characters :
---
[ u.1S0b] fb0: VESA VGA frame buffer device
---

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: rsyslog 5.8.6-1ubuntu8.6
ProcVersionSignature: Ubuntu 3.2.0-58.88-generic 3.2.53
Uname: Linux 3.2.0-58-generic i686
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
Date: Mon Jan 27 12:18:57 2014
InstallationMedia: Xubuntu 12.04.2 LTS "Precise Pangolin" - Release i386 (20130213)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=fr:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: rsyslog
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.init.dmesg.conf: 2013-06-01T21:11:54.843630
mtime.conffile..etc.logrotate.d.rsyslog: 2013-05-12T22:02:02.020126
mtime.conffile..etc.rsyslog.conf: 2014-01-27T11:26:08.674340

Revision history for this message
Jérôme (jerome-bouat) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.