Disable logging in SharePoint

In one of my development boxes, Logs are grown rapidly and occupied disk space. By default, logs are stored under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS

I wanted to STOP the logging altogether. Here is what I did to disable logging in SharePoint:

  1.     Go Central Administration >> Operations >> Logging and Reporting
  2.     Click on Diagnostic Logging
    • Customer Experience Improvement Program: select No, I don’t wish to participate
    • Error Reports: select Ignore errors and don’t collect information
    • Trace log: clear the entire Path.            
  3. Click on Usage Analysis Processing
  4. Uncheck Enable logging
  5. Click on Information Management Policy Usage Reports
  6. Uncheck Enable recurring policy usage reports

Yeah, of course, this should be done only for the DEV environment. It’s strongly recommended to enable the logging for any of your production servers. Else it’s impossible to troubleshoot any errors.

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply