chris z Posted October 11, 2003 Report 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 Quote Link to comment Share on other sites More sharing options...
Guest anon Posted October 11, 2003 Report 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. Quote Link to comment Share on other sites More sharing options...
chris z Posted October 11, 2003 Author Report Share Posted October 11, 2003 thanks! (right click "delete".....right click "delete".......... ) Chris Quote Link to comment Share on other sites More sharing options...
roland Posted October 11, 2003 Report 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 Quote Link to comment Share on other sites More sharing options...
Guest anon Posted October 11, 2003 Report Share Posted October 11, 2003 Easy, :) Install logrotate. It allows you to rotate, compress, remove, etc. Quote Link to comment Share on other sites More sharing options...
roland Posted October 11, 2003 Report Share Posted October 11, 2003 Easy, :) Install logrotate. It allows you to rotate, compress, remove, etc. I'll try to remember this :? . thanks :) roland Quote Link to comment Share on other sites More sharing options...
bvc Posted October 11, 2003 Report 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.