Jump to content

is it safe to delete these files?


chris z
 Share

Recommended Posts

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

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

thanks!

 

(right click "delete".....right click "delete".......... :twisted: )

 

Chris

Link to comment
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...