On our Magento 1 store log cleaning is not working, even though we have Enabled Log Cleaning in System > Configuration > Advanced > System.

Also, when I run `php -f shell/log.php clean` from the terminal it does not work either and gives no error messages.

```
$ php -f shell/log.php clean
Log cleaned

```

Our site is hosted on AWS with a seperate webserver & mysql server. Could it have something to do with this? Although, all other webserver DB interactions are working fine.

I could find no error messages in our system & exception logs.

What else could it be?