I've noticed that when my nightly backup routine runs, the www logs are very large. How do I delete them?
I know about the domlogs and yes, the system does purge them every month.chirpy said:Chris,
Which logs are you referring to? If you mean the domlogs, then you can save space at the risk of tracing issues in those log files, by checking WHM > Tweak Settings > Delete each domain's access logs after stats run. That way they'll be cleared down once your stats apps have finished processing them. It does mean, though that if you have a compromise through the web server it makes it much more difficult to track down as the logs may well have been purged.
Here is a sample script which can do the jobStanleytiew said:what you mean by empty the file, how to do it?