Rotate Apache Error Logs and Access Logs
Want to rotate apache error logs on Apache 2 webserver? There is a nice bash script you can use. Basically it works by stopping apache webserver and backing up your error logs and access logs (based on date), and then removing the original apache logs then starting apache again. You can use this script alongside with cron for automatic rotation. Create /usr/archive folder first if it doesn’t exists.
Artikel selengkapnya hanya untuk member.
Login atau Menjadi member
Posting Menarik Lainnya:
- No space left on device: Couldn’t create accept lock
- Mempercepat Loading Blog WordPress: Apache KeepAlive
- Mempercepat Loading Blog dengan Optimasi Apache
- Incorrect Key File for Table MySQL Error
- Sitemap Error Gara-Gara Global Translator
- XML Parsing Error: XML or text declaration not at start of entity
- Hostgator Error Lagi: Akismet has detected a problem
- Memberi Password Folder
- 502 Bad Gateway



Never really looked at the information like that before. Thanks!