Is it safe to clear /var/log/messages?
Hi,
The messages file in /var/log/messages is regularly well over 1gb and I need ot keep this smaller. because I am running out of space in /var.
Is it safe to just go like so?
> /var/log/messages
To empty that one down now and then?
Thanks much.
-
Hello :) The data in /var/log/messages is not required unless you need to troubleshoot an issue with general system activity. You can empty it, or add a custom LogRotate entry for it so it's rotated on a regular basis. Thank you. 0
Please sign in to leave a comment.
Comments
1 comment