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?
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
L | Deleting Error Logs from cPanel | Site Performance Analytics | 27 | |
J | How to fix stats after deleting logs in domlogs? | Site Performance Analytics | 3 | |
Y | How to Clean Up www logs | Site Performance Analytics | 1 | |
O | transfer account, what is "Copying www logs" ? | Site Performance Analytics | 0 | |
A | Deleting logs | Site Performance Analytics | 1 |