Thursday, January 14, 2010

Disable logging in WSS 3.0

After a server failure I discovered that Windows Sharepoint Services was creating gigabytes of log files where after our server died with a ‘no more disk space’ error.

WSS V3 out of the box has extensive logging activity, Logs can be usually found in this directory  C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS

If you are running WSS V3, you can disable logging activity by doing the following:

  • Go to WSS V3 Central Administration -> Operations -> Logging and Reporting

  • 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.

    4. Click OK

  • Click on Usage Analysis Processing

    1. Uncheck Enable logging

    2. Click OK

  • Click on Information Management Policy Usage Reports

    1. Uncheck Enable recurring policy usage reports

Please remember that once you have disabled logging it will be impossible to troubleshoot any WSS errors.

    No comments: