afd9c251f70b6a2cb310aa45813010559a596ea1
Guides/Logging-Basics.md
| ... | ... | @@ -5,6 +5,14 @@ |
| 5 | 5 | |
| 6 | 6 | Izenda utilizes Log4Net as the default logging provider. This logging ability is included with every implementation of Izenda since version 6.7.1.265. By default, the logging level is set to FATAL, so almost nothing is logged. To change this, and "enable" logging, just change the error level in the log4net.xml file to something less restrictive. In the next section, the specifics of how to make this change will be shown. |
| 7 | 7 | |
| 8 | +##Disabling Logging |
|
| 9 | + |
|
| 10 | +To disable logging, add this setting in your Global: |
|
| 11 | + |
|
| 12 | +AdHocContext.DisableLogging = true; |
|
| 13 | + |
|
| 14 | +Add it before any other call, for example before the connection string, in the initialization or start event. |
|
| 15 | + |
|
| 8 | 16 | ##Basic Configuration |
| 9 | 17 | ```xml |
| 10 | 18 | <log4net> |
| ... | ... | @@ -42,4 +50,4 @@ The value here ends up being the name of the log file output. It is recommended |
| 42 | 50 | |
| 43 | 51 | ##More Information |
| 44 | 52 | |
| 45 | -For more information about logging, please visit the [log4net documentation](http://logging.apache.org/log4net/release/features.html). There is significantly more information there than anyone will ever need. |
|
| ... | ... | \ No newline at end of file |
| 0 | +For more information about logging, please visit the [log4net documentation](http://logging.apache.org/log4net/release/features.html). |
|
| ... | ... | \ No newline at end of file |