Bug 582340 - X server logs need human-friendly timestamps
Summary: X server logs need human-friendly timestamps
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-14 17:16 UTC by Christopher Beland
Modified: 2018-04-11 08:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-07 19:53:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 25668 0 None None None Never
FreeDesktop.org 26180 0 None None None Never
FreeDesktop.org 28429 0 None None None Never

Description Christopher Beland 2010-04-14 17:16:35 UTC
It looks like the X server has started to timestamp its log entries, but unfortunately this is just in the format of a decimal number.  Making this human readable would help enormously in debugging problems where log entries need to be temporally correlated with a stimulus.

An excerpt from Xorg.0.log after booting the F13 Beta Live Desktop ISO:

>>
[   108.430] 
This is a pre-release version of the X server from Fedora Project.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[   108.430] 
X.Org X Server 1.7.99.901 (1.8.0 RC 1)
Release Date: 2010-02-12
[   108.431] X Protocol Version 11, Revision 0
[   108.431] Build Operating System: x86-05 2.6.18-164.6.1.el5 
[   108.431] Current Operating System: Linux localhost.localdomain 2.6.33.1-24.fc13.i686 #1 SMP Tue Mar 30 18:49:12 UTC 2010 i686
[   108.433] Kernel command line: initrd=initrd0.img root=live:UUID=EEB1-44B2 rootfstype=vfat ro liveimg quiet  rhgb rd_NO_LUKS rd_NO_MD noiswmd  BOOT_IMAGE=
vmlinuz0 
[   108.434] Build Date: 19 March 2010  12:19:39AM
[   108.434] Build ID: xorg-x11-server 1.7.99.902-2.20100319.fc13 
[   108.444] Current version of pixman: 0.17.12
[   108.445]    Before reporting problems, check http://bodhi.fedoraproject.org/
        to make sure that you have the latest version.
[   108.445] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   108.449] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 14 06:48:41 2010
<<

Comment 1 william hanlon 2010-06-04 15:28:19 UTC
I agree. I'm trying to understand a bug causing Xorg to crash and it would be more helpful for timestamps to be easier to read. It looks like seconds since last boot. Even if they stick with seconds as the time stamp, calendar time (seconds since the epoch) would be more useful since it can be easily converted to an absolute time without having to figure out when your computer was last switched on.

Comment 4 Matěj Cepl 2010-06-07 19:53:17 UTC
We filed this bug in the upstream database (https://bugs.freedesktop.org/show_bug.cgi?id=28429) and believe that it is more appropriate to let it be resolved upstream.

We will continue to track the issue in the centralized upstream bug tracker, and will review any bug fixes that become available for consideration in future updates.

Thank you for the bug report.


Note You need to log in before you can comment on or make changes to this bug.