How To Automatically Remove error_log Files

apache http server logoApache has great logging features, but if you’re using shared hosting, then sometimes removing error_log files might not be very simple.

Poking around the Internet did lead me to Lester’s site, where he has generously created and offered an error_log file cleaning script for free. Grab that script here. Just upload that script to your web server, run it, and any error_log file that it finds (it searches downwards recursively), it will delete. So if you’re looking for a way to automatically delete error_log files, this is probably your best bet.

I’ve also mirrored it here. It’s a .txt file, so just rename it to .php for it to work.

Similar Posts:

Alvin Poh lives in Singapore, and is interested in marketing, techy stuff, and likes to just figure out how the two can work with each other. He can also be found on Google+.

Leave a reply:

Your email address will not be published.


Sliding Sidebar