Cleaning Magento 1.9 logs cleaning with SSH
Log on to your SSH server, navigate to the root of your Magento shop and use the following command:
php -f shell/log.php clean
it will return "Log cleaned"
If you haven’t done it for a while it may take some time.