Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/var/log/xorg.0.log shows the log of the last day
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1612

PostPosted: Wed Jul 30, 2014 8:44 pm    Post subject: /var/log/xorg.0.log shows the log of the last day Reply with quote

My /var/log/xorg.0.log shows me only the log of the current day, when I boot. I don't have logs of previous days, and currently I have some problems with crashes of X. How can I get output of xorg of previous days. I don't have logrotate, so it's quite weird that it saves only the logs of the current date
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Wed Jul 30, 2014 10:10 pm    Post subject: Reply with quote

...:sigh:...
xorg-server doesn't rotate its log - there's only one logfile per display (see '-logfile' on 'man Xorg').
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3690
Location: Dallas area

PostPosted: Wed Jul 30, 2014 10:14 pm    Post subject: Reply with quote

It keeps two logs (at least on my system)

Xorg.0.log and Xorg.0.log.old (current session and last session)
Edit to add: I use startx not a DM.

If you want more than this then when you stop X, copy the file to some other name.
_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
4.14.62 kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 7.3.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1612

PostPosted: Wed Jul 30, 2014 10:42 pm    Post subject: Reply with quote

Anon-E-moose wrote:
It keeps two logs (at least on my system)

Xorg.0.log and Xorg.0.log.old (current session and last session)
Edit to add: I use startx not a DM.

If you want more than this then when you stop X, copy the file to some other name.


I have xorg.0.old too. Thanks. It looked to me the same date. The change was at the hour.

Yes, and I will use the tip of copy to other name in order to keep track of older versions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum