After you apply this update, set the level to 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 set the value to true.
To do this, add the following node into the appSettings section of the app.config file, or 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.
Artikelnummer: 2571513 – Letzte Überarbeitung: 07.12.2011 – Revision: 1