> My /var/log folder is getting fairly big (10 MB) and its growing quickly 
> (this computer has only 660MB for Linux :( ).

How fast is it filling up? How much is it going to be tomorrow, or
next week?

/var should really be on a separate partition. That's not always 
possible, of course.

> My question is: is it safe to regularly delete logs (using just the rm 
> command) or is there a "correct" way to do it?

Well, the safe way is to kill -HUP the programs that are generating the
logs, rm (or trim) the logs, and then restart the logging programs. That's
basically what logrotate does.

Removing the logs is possible, but you might want to see what's in there
from time to time (otherwise, why bother to log?) so it's usually better
to trim them. So for instance if your logs are over a month old, you could
edit out all entries for December and/or January.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to