We've configured our ULS Logs to be a maximum of 50GB, via Central Admin => Monitoring => Configure Diagnostic Logging. When clicking OK at that page, it will trim all logs on all servers to 50GB. However, over time it will grow to way more than 50GB, e.g. 200GB.

Only when we go back to this page and click OK, it will trim back to 50GB.

I can't find any timer job that is responsible for trimming the ULS Logs. Why isn't this working as expected?

1 Answer 1


ULS Log deletion is done by SharePoint Tracing Service.

Please check the according Service-Account in Windows-Services console. enter image description here

This user is normally a member of the "WSS_WPG" local group: enter image description here

Then make sure this group has the permission to "Delete subfolders and files" on your ULS-Log folder: enter image description here

If this doesn't help you can check ULS-Logs for the following string: Log retention limit reached.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.