You can use the backend configuration section within the App.config file to set event logging.
Sample settings:
| App.config |
Copy Code |
|
<backendconfiguration id="mssqlConfiguration" backend="mssql"> <logging.logEvents>all</logging.logEvents> <logging.logEventsToSysOut>true</logging.logEventsToSysOut> </backendconfiguration> |
Event Logging Levels
The event logging levels that can be used in <logging.logEvents> property are:
|
Logging Level |
Description |
|
none |
Logs no events. Use this only while doing benchmarking. |
|
errors |
Logs only errors (such as connections timing out) |
|
normal |
Logs the most of the events that do not reduce performance significantly (e.g. SQL executed) |
|
verbose |
Logs majority of the events (this slows down the performance, recommended only for debugging purposes) |
|
all |
Logs all possible events (this slows down the performance significantly, could be used while debugging) |