Configure SharePoint Services logging


Configure SharePoint Services logging

By default, there is no limit on the disk space that diagnostic logging for Microsoft SharePoint 2010 products can use. If you do not specify a limit, diagnostic logging can use all of the space on the hard disk of the Enterprise Search server.

Use the following procedure to specify limits for diagnostic logging for SharePoint 2010 products.
1. In SharePoint 2010 Central Administration, click Monitoring.
2. Under Reporting, click Configure diagnostic logging.
3. In the Number of days to store log files section, enter a number.
4. Select the Restrict Trace Log disk space usage option.
5. In the Maximum storage space for Trace Logs (GB) field, enter a number.
6. Click OK.
7. Under Reporting, click Configure usage and health data collection.
8. In the Maximum log file size field, enter a number.
9. Click OK.