Log Cleaner Bash Script by Andy1210

Files:

logs.sh
logdel.sh
logs.txt

1. Edit logs.txt
2. Copy all files from pack to your server /root dir
3. Execute logs.sh with sh command with ssh client as root (PUTTY) -> "sh sql.sh"

Download pack:
http://www.mediafire.com/?wtw2ualntwj

Forums: 

Thank you for contribution,
another way, on command line:

cd /var/log
rm -rvf *.gz
rm -rvf *.?
> ehcp.log
> apache_common_access_log

Yes, but these logs that you wrote only the common logs. My script deletes every log that each vhost creates for himself.