Bug 215456 - possibility to set a max fixed size for .xsession-errors
Summary: possibility to set a max fixed size for .xsession-errors
Status: RESOLVED DUPLICATE of bug 174365
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-20 18:18 UTC by Jerome Quelin
Modified: 2010-02-21 11:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Quelin 2009-11-20 18:18:11 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

~/.xsession-errors is where any notice go. however, lots of programs write in it, which can make it take a lot of space. see some bug reports about specific applications: #140995 #141586 #174365

i am aware that kdebugdialog can be used to limit what goes in xsession-errors. but since looking in xsession-errors can be interesting to find problems, i'm not convinced this is the best way to handle the problem.

therefore, i propose that kde limits ~/.xsession-errors to a fixed size, or does some routine log rotating every x hours.

according to https://qa.mandriva.com/show_bug.cgi?id=45592#c4 it seems that gnome enforces a fixed size of 200k for the file.
Comment 1 Christoph Feck 2009-11-22 02:27:54 UTC
According to the comment, gdm can limit the size. Maybe kdm could, too?
Comment 2 Oswald Buddenhagen 2010-02-21 11:11:40 UTC

*** This bug has been marked as a duplicate of bug 174365 ***