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
View posts from last 7 days

 
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: 1642

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: 6196

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
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
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.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

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