FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-12-2010, 05:41 AM
Borden Rhodes
 
Default Why aren't there time stamps in Xorg.log?

Good morning!

This is a question which nags at me whenever I try to figure out why something
doesn't work in X. dmesg timestamps entries so when I'm going through trying
to figure out why something crashed or didn't work like I naively expected it
to, I can focus on the log entries around the time the event occurred.
Ideally, I'd prefer these entries to be stamped with Gregorian dates and times
instead of seconds since boot but that's another topic.

Xorg.log (~/.xsession-errors, too, for that matter) doesn't timestamp entries.
Therefore, when X crashes because I tried to use RandR or my video doesn't
work properly, I get all of this fascinating information about how cleverly X
figured out my screen resolution and refresh rates, but I don't know when they
were added to Xorg.log so I don't know whether they are relevant to my
investigation.

Since, according to Google, I'm the first to ask this question, I'm guessing
I'm misunderstanding the purpose of Xorg.log and that time stamps are
counterproductive. Could someone please explain why this is the way that it
is?

With thanks,

Borden


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-12-2010, 08:00 AM
Camaleón
 
Default Why aren't there time stamps in Xorg.log?

On Tue, 12 Jan 2010 01:41:04 -0500, Borden Rhodes wrote:

> This is a question which nags at me whenever I try to figure out why
> something doesn't work in X. dmesg timestamps entries so when I'm going
> through trying to figure out why something crashed or didn't work like I
> naively expected it to, I can focus on the log entries around the time
> the event occurred. Ideally, I'd prefer these entries to be stamped with
> Gregorian dates and times instead of seconds since boot but that's
> another topic.
>
> Xorg.log (~/.xsession-errors, too, for that matter) doesn't timestamp
> entries. Therefore, when X crashes because I tried to use RandR or my
> video doesn't work properly, I get all of this fascinating information
> about how cleverly X figured out my screen resolution and refresh rates,
> but I don't know when they were added to Xorg.log so I don't know
> whether they are relevant to my investigation.

I thought "Xorg.0.log" entries were only written at start-up :-?

> Since, according to Google, I'm the first to ask this question, I'm
> guessing I'm misunderstanding the purpose of Xorg.log and that time
> stamps are counterproductive. Could someone please explain why this is
> the way that it is?

At least someone at Ubuntu filled a report for that exact purpose ;-)

x.org logging doesn't put timestamp on the log lines
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/285787

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-12-2010, 08:10 AM
Alexey Salmin
 
Default Why aren't there time stamps in Xorg.log?

On Tue, Jan 12, 2010 at 3:00 PM, Camaleón <noelamac@gmail.com> wrote:
> On Tue, 12 Jan 2010 01:41:04 -0500, Borden Rhodes wrote:
>
>> This is a question which nags at me whenever I try to figure out why
>> something doesn't work in X. dmesg timestamps entries so when I'm going
>> through trying to figure out why something crashed or didn't work like I
>> naively expected it to, I can focus on the log entries around the time
>> the event occurred. Ideally, I'd prefer these entries to be stamped with
>> Gregorian dates and times instead of seconds since boot but that's
>> another topic.
>>
>> Xorg.log (~/.xsession-errors, too, for that matter) doesn't timestamp
>> entries. Therefore, when X crashes because I tried to use RandR or my
>> video doesn't work properly, I get all of this fascinating information
>> about how cleverly X figured out my screen resolution and refresh rates,
>> but I don't know when they were added to Xorg.log so I don't know
>> whether they are relevant to my investigation.
>
> I thought "Xorg.0.log" entries were only written at start-up :-?
>
>> Since, according to Google, I'm the first to ask this question, I'm
>> guessing I'm misunderstanding the purpose of Xorg.log and that time
>> stamps are counterproductive. Could someone please explain why this is
>> the way that it is?
>
> At least someone at Ubuntu filled a report for that exact purpose ;-)
>
> x.org logging doesn't put timestamp on the log lines
> https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/285787
>
> Greetings,
>
> --
> Camaleón

Furthermore, it seems that they're trying to fix that in Ubuntu. Let's
see if those patches will go upstream.

Alexey


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-12-2010, 01:25 PM
Celejar
 
Default Why aren't there time stamps in Xorg.log?

On Tue, 12 Jan 2010 09:00:58 +0000 (UTC)
Camaleón <noelamac@gmail.com> wrote:

> On Tue, 12 Jan 2010 01:41:04 -0500, Borden Rhodes wrote:
>
> > This is a question which nags at me whenever I try to figure out why
> > something doesn't work in X. dmesg timestamps entries so when I'm going
> > through trying to figure out why something crashed or didn't work like I
> > naively expected it to, I can focus on the log entries around the time
> > the event occurred. Ideally, I'd prefer these entries to be stamped with
> > Gregorian dates and times instead of seconds since boot but that's
> > another topic.
> >
> > Xorg.log (~/.xsession-errors, too, for that matter) doesn't timestamp
> > entries. Therefore, when X crashes because I tried to use RandR or my
> > video doesn't work properly, I get all of this fascinating information
> > about how cleverly X figured out my screen resolution and refresh rates,
> > but I don't know when they were added to Xorg.log so I don't know
> > whether they are relevant to my investigation.
>
> I thought "Xorg.0.log" entries were only written at start-up :-?

This is not correct - when X crashes, there are often crash-related
error messages in the log.

Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-14-2010, 04:46 PM
Borden Rhodes
 
Default Why aren't there time stamps in Xorg.log?

> > At least someone at Ubuntu filled a report for that exact purpose ;-)
> >
> > x.org logging doesn't put timestamp on the log lines
> > https://bugs.launchpad.net/ubuntu/+source
> >
> > Camaleón
>
> Furthermore, it seems that they're trying to fix that in Ubuntu. Let's see if
those patches will go upstream.
>
> Alexey

Thank you for the input!

It appears that they have already fixed it in Ubuntu according to the bug.
Since we're upstream to Ubuntu, I think that we would be the next link to
implement their patch. Should this, therefore, be reported as a wishlist bug
against Debian's Xorg?

Borden


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-15-2010, 06:53 AM
Camaleón
 
Default Why aren't there time stamps in Xorg.log?

On Thu, 14 Jan 2010 12:46:35 -0500, Borden Rhodes wrote:

>> > At least someone at Ubuntu filled a report for that exact purpose ;-)
>> >
>> > x.org logging doesn't put timestamp on the log lines
>> > https://bugs.launchpad.net/ubuntu/+source
>> >
>> > Camaleón
>>
>> Furthermore, it seems that they're trying to fix that in Ubuntu. Let's
>> see if
> those patches will go upstream.
>>
>> Alexey
>
> Thank you for the input!
>
> It appears that they have already fixed it in Ubuntu according to the
> bug. Since we're upstream to Ubuntu, I think that we would be the next
> link to implement their patch. Should this, therefore, be reported as a
> wishlist bug against Debian's Xorg?

It seems there is already one (opened in 2003!) for Debian:

xserver-xfree86: want timestamps in server log messages
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=202923

You can add your comments there :-)

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-15-2010, 08:25 AM
Jon Dowland
 
Default Why aren't there time stamps in Xorg.log?

On Thu, Jan 14, 2010 at 12:46:35PM -0500, Borden Rhodes wrote:
> It appears that they have already fixed it in Ubuntu according to the bug.
> Since we're upstream to Ubuntu, I think that we would be the next link to
> implement their patch. Should this, therefore, be reported as a wishlist bug
> against Debian's Xorg?

The best way to ensure the patch is added to Debian would be
for it to be accepted upstream. It would appear that
upstream are aware of the request, at least:
<http://lists.x.org/archives/xorg-devel/2009-September/001837.html>


--
Jon Dowland
Information Systems and Services
Newcastle University
 

Thread Tools




All times are GMT. The time now is 09:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org