---
title: Enable Logging from Applications using the Log4Net framework with Nodinite as the target
description: Learn how to enable, configure, and optimize logging from .NET applications using Log4Net and Nodinite. This guide covers prerequisites, installation, log levels, and best practices for actionable monitoring.
---

# Logging from Log4Net Applications

Unlock actionable insights from your .NET applications by enabling logging with :Nodinite: and Log4Net. This guide walks you through the essential steps to set up, configure, and optimize logging for your integration solutions. Whether you're a systems integration expert or evaluating :Nodinite: for your business, you'll discover how to maximize the value of your logged events.

With this guide, you will:

* ✅ Ensure all prerequisites are in place for a smooth setup  
* ✅ Install and configure the :Nodinite: [Log4Net Appender][] for seamless event logging  
* ✅ Visualize and analyze logged events in the powerful [Log View][Log Views]  
* ✅ Fine-tune your .NET applications for optimal logging results  
* ✅ Empower business users with self-service Log Views and automated monitoring  

Follow these steps to get started:

1. Make sure to first have all [Prerequisites][] in place  
2. [Install][] and [Configure][Configuration] the :Nodinite: [Log4Net Appender][]  
3. Run your .NET application and verify that you receive logged events in the **Administration** [Log View][Log Views]  
4. Tune, improve, and if necessary, add code to your .NET applications for better logging results.  
    >[!TIP]  
    >If you need to change code, consider using the [Asynchronous Logging][] user guide for best practices.  
5. Create self-service enabled [Log Views][] for your business users  
6. Configure the [Non Events Agent][] and create [Monitor Views][] with optional [Alarm Plugins][] for proactive monitoring and alerting  

___

## How are log levels evaluated?  

Log4Net provides five primary log levels for logging events:

* :fa-bug: **DEBUG**  
* :fa-circle-info: **INFO**  
* ⚠️ **WARN**  
* ❌ **ERROR**  
* ❌ **FATAL**  

For advanced scenarios, Log4Net supports additional levels:

```text
//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
```

:Nodinite: maps Log4Net log levels to status codes for clear, actionable monitoring:

The following [Log Status Codes][] are currently available:

|:fa-flag:|Nodinite Status Type|Log4Net Level|Description|
|:---:|---|---|---|
|:fa-flag:|None|N/A|Not set or unknown|
|:fa-flag:|Information|**DEBUG**</br>**INFO**|Informational message|
|:fa-flag:|✅ Success|N/A|Operation succeeded|
|:fa-flag:|⚠️ Warning|**WARN**|Used to indicate an unexpected but not invalid state while processing the message|
|:fa-flag:|❌ Error|**ERROR**</br>**FATAL**|Used to indicate an error/fatal condition while processing the message|

To learn more about Log4Net, please visit [Log4Net - Apache][].

## :fa-hand-point-right: Next Steps

:fa-rocket: [Install the Log4Net Appender][Install]  

## :fa-link-horizontal: Related Topics

[Alarm Plugins]:{ndr}/Administration/5.%20Settings/1.%20Alarm%20Plugins/Features/What%20is%20an%20Alarm%20Plugin.md
[Asynchronous Logging]:{ndr}/Core%20Services/Log%20API/Features/Asynchronous%20Logging.md
[Configuration]:{ndr}/Logging%20and%20Monitoring/Log4Net%20Appender/Getting%20started/3.%20Configuration.md
[Install]:{ndr}/Logging%20and%20Monitoring/Log4Net%20Appender/Getting%20started/2.%20Install.md
[Log Status Codes]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Status%20Code.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Log4Net - Apache]:https://logging.apache.org/log4net/index.html
[Log4Net Appender]:{ndr}/Logging%20and%20Monitoring/Log4Net%20Appender/Overview.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Non Events Agent]:{ndr}/Logging%20and%20Monitoring/Non-Events/Overview.md
[Prerequisites]:{ndr}/Logging%20and%20Monitoring/Log4Net%20Appender/Getting%20started/1.%20Prerequisites.md