Please keep historical copies of log files in /var/log/lightdm

Bug #963553 reported by Robert Hooker
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

It would be very nice if lightdm kept at least 1 historical copy of the logs in /var/log/lightdm. When X, libdrm or mesa hit an assertion it would only go to stderr for the X process and not the X log and we relied on GDM keeping 3 previous logs for each to post mortem debug issues involving that, but lightdm overwrites the logs on the next startup so the traces have disappeared when someone can actually file the bug.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lightdm 1.1.9-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
Date: Fri Mar 23 19:09:54 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64+mac (20110427.1)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: Upgraded to precise on 2012-01-09 (74 days ago)

Revision history for this message
Robert Hooker (sarvatt) wrote :
Changed in lightdm (Ubuntu):
importance: Undecided → Wishlist
description: updated
Changed in lightdm (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

+1

Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue should be fixed with 1.2.0:
http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/1469

"Backup .xsession-errors on login", it's renamed to .xsession-errors.old

Changed in lightdm (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Robert Hooker (sarvatt) wrote :

It's /var/log/lightdm/:0.log that's the interesting one mostly, assertions in X, drivers, mesa, and libdrm would go in there and not in ~/.xsession-errors

Changed in lightdm (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Robert Ancell (robert-ancell) wrote :

There's rotation there now.

Changed in lightdm (Ubuntu):
status: Confirmed → Fix Released
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.