[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Query about .xsession-errors file



On Tue, Sep 09, 2014 at 03:29:04PM +0800, Bret Busby wrote:
> .xsession-errors, which is currently sitting at about 740MB, and has
> been growing in the last hour.
> 
> entries from before the current boot session) entries, so as to reduce
> the file size to content that is necessary to retain for debugging?
> 

If debugging is not required, redirect xsession error to /dev/null is
another option.

in /etc/X11/Xsession, find the line:

exec >>"$ERRFILE" 2>&1

change it to:

exec >>/dev/null 2>&1

-- 
Chen Wei


Reply to: