chris z Posted October 11, 2003 Share Posted October 11, 2003 looking to free up some space, i was fishing around in the /var/log folder. i have a HUGE (18meg) file called "messages" & one sorta huge (3.5meg) file called "wtmp". i turned off system logging a week ago, & that seems to be the last time the "messages" file was written to. the "wtmp" file is current as of today (10-11-03). was Googling for an answer, but found nothing definitive. so, before i get rid of them & regret that move, i seek wisdom here. is it safe to delete those files? Chris Link to comment Share on other sites More sharing options...
Guest anon Posted October 11, 2003 Share Posted October 11, 2003 Log files are just, ...well log files :) You can safely delete them. You might want to keep recent boot logs though, they can come in handy. Link to comment Share on other sites More sharing options...
chris z Posted October 11, 2003 Author Share Posted October 11, 2003 thanks! (right click "delete".....right click "delete".......... ) Chris Link to comment Share on other sites More sharing options...
roland Posted October 11, 2003 Share Posted October 11, 2003 Log files are just, ...well log files :) You can safely delete them.handy. Yes but /var/log/messages will be back. There must be a way to limit its size but I don't know. An idea ? (just for my general culture) roland Link to comment Share on other sites More sharing options...
Guest anon Posted October 11, 2003 Share Posted October 11, 2003 Easy, :) Install logrotate. It allows you to rotate, compress, remove, etc. Link to comment Share on other sites More sharing options...
roland Posted October 11, 2003 Share Posted October 11, 2003 Easy, :) Install logrotate. It allows you to rotate, compress, remove, etc. I'll try to remember this :? . thanks :) roland Link to comment Share on other sites More sharing options...
bvc Posted October 11, 2003 Share Posted October 11, 2003 also install anacron. Cron is installed by default but it's more for servers or those that hardly reboot. If you shut down or reboot regularly anacron is the way to go. anacron/logrotate also allow you to say how often. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now