SharePoint 2007 -trimaudit log stsadm command does not actually remove audit items
Posted on 2013-11-18
I am currently trying to run the -trimauditlog command on our 2007 SharePoint farm. When I run the command, it says that it completes successfully, but afterwards, when I check SQL, the line items have not been removed. If it makes a difference, I have only tried removing one or two days of logs at a time to not impact the farm too much.
There does not seem to be an associated timer job, but I have forced a run of the timer jobs anyway, and this does not help.
I have not been able to determine a fix for this and the dbo.auditlog table has reached over 5 million items. Any help is appreciated.