An update is available to disable logging in an Office Communications Server 2007 R2 Group Chat SDK-based application


Symptoms


This article describes an update that lets users disable logging in a Microsoft Office Communications Server 2007 R2 Group Chat SDK-based application. 

Resolution


To resolve this issue, install the following cumulative update:
2603299 Update package for Office Communications Server 2007 R2 Group Chat SDK: September 2011

After you apply this update, set the level optionto NONE in the configuration file under the <log4mgc> node. This setting causes the log file to be empty. If you want to avoid creating an empty log file, add a new node under the appSettings section in the config file, and then set the value to true.

To do this, add the following node to the appSettings section of the app.config file or of the web.config file:

<add key="DisableLogging" value="true" />

Note You can re-enable logging by setting the DisableLogging value to false or by removing the node completely. Also, recycle the application when you change the value of the DisableLogging setting to true or to false to become effective.