empty Xorg.0.log
Hi All,
I want empty or clean the /var/log/Xorg.0.log, because the /var exceed his limit.
Thanks
Responses
Hi Fateh,
You can safely empty that file if you don't need it for investigating problems with the current (or last) X session (e.g. echo "" > Xorg.0.log). Note that it will start to fill up again.
If the log file consistently grows to large sizes, you may need to find out what's causing this (any repeated errors or warnings in the log?). You may also want to adjust your logrotate settings, so that other log files are pruned more often.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
