About turning logging on and off
Entire Logging or Logging for specific category can be turned on and off through the web.config (XML file) at a production machine as needed. For example, in the web.config file in <DetectInstallDir>\Application, there are two filters specified:
<logFilters>
<add name="LogEnabled Filter" enabled="true" .../>
<add name="Category Filter"
categoryFilterMode="DenyAllExceptAllowed"
<categoryFilters>
<add name="Error" />
</categoryFilters>
</add>
</logFilters>
In this code:
*
"LogEnabled Filter" turns entire Logging capability on or off by setting its enabled attribute "true" or "false".
*
"Category Filter" is a list of Categories that are being logged. By default, only "Error" is turned on so that it will not hamper the performance of production machine. But if an error occurs and the information in Error.log is not enough to diagnose the problem, you can turn on "Database" and "Audit" by adding following lines in web.config right after "<add name="Error" />":
<add name="Database" />
<add name="Audit" />
*
Detect must be stopped and restarted before these changes will take effect.