- 2 minutes to read
Logging from Log4Net Applications
- Make sure to first have all Prerequisites in place
- Install and Configure the Nodinite Log4Net Appender
- Run your .NET application and make sure you get logged events in the Administration Log View
- Tune, improve and if necessary add code to your .NET applications to get a better result.
Tip
If you need to change code, you should consider logging using Asynchronous Logging user guide instead
- Create self-service enabled Log Views for your business
- Configure the Non Events Agent and create Monitor Views with optional Alarm Plugins
How are log levels evaluated?
There are five different levels available with Log4Net when logging:
- DEBUG
- INFO
- WARN
- ERROR
- FATAL
//OFF: 2147483647 //EMERGENCY: 120000 //FATAL: 110000 //ALERT: 100000 //CRITICAL: 90000 //SEVERE: 80000 //ERROR: 70000 //WARN: 60000 //NOTICE: 50000 //INFO: 40000 //DEBUG: 30000 //FINE: 30000 //TRACE: 20000 //FINER: 20000 //VERBOSE: 10000 //FINEST: 10000 //ALL: -2147483648
The following Log Status Codes are currently available:
Nodinite Status Type | Log4Net Level | Description | |
---|---|---|---|
None | N/A | Not set or unknown | |
Information | DEBUGINFO | Informational message | |
Success | N/A | Operation succeeded | |
Warning | WARN | Used to indicate an unexpected but not invalid state while processing the message | |
Error | ERRORFATAL | Used to indicate an error/fatal condition while processing the message |
To learn more about Log4Net please visit Log4Net - Apache.