Disable logging in SharePoint

In one of my development box, Logs 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
    1. Customer Experience Improvement Program: select No, I don't wish to participate
    2. Error Reports: select Ignore errors and don't collect information
    3. 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 DEV environment. It's strongly recommended to enable the logging for any of your production servers. Else its impossible  to troubleshoot any errors.

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.