---
title: Prerequisites for the Nodinite Log4Net Appender NuGet Package
description: Prerequisites for installing the Nodinite Log4Net Appender NuGet package in your Visual Studio .NET Framework projects. Ensure compatibility and network access for seamless logging.
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/17" data-url="https://portal.nodinite.com/marketplace/17"><i class="fal fa-fw fa-file-alt" aria-hidden="true"></i> Release Notes</a>

# <i class="fal fa-square-plus" aria-hidden="true"></i> Prerequisites for the Nodinite Log4Net Appender

Prepare your .NET Framework development environment to integrate the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Log4Net Appender NuGet package. This page outlines the software, network, and security requirements needed to successfully add centralized logging to your applications.

With this guide, you will:

* ✅ Ensure your development environment is compatible with the NuGet package  
* ✅ Meet all network and security prerequisites  
* ✅ Enable robust, centralized monitoring and logging  
* ✅ Avoid common configuration issues  

>This page describes the prerequisites for using the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log4Net Appender][] NuGet package in your .NET Framework projects.  

<div class="mermaid">
graph LR
    subgraph "Visual Studio .NET Framework Projects"
        roVS[fal:fa-file-code Visual Studio] --> | NuGet | roLA(fal:fa-comment-times Nodinite Log4Net Appender)  
        roNET1[fal:fa-code .NET Application] --> | Log4NET | roLA  
        roNET2(fal:fa-globe Web Service) --> | Log4NET | roLA  
    end
    subgraph "Nodinite"
        roLogAPI(fal:fa-cloud-arrow-down Log API)
        roLA --> | HTTPS | roLogAPI  
        roLogAPI --> roDB(fal:fa-database Log Databases)
   end
</div>

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log4Net Appender][] is a NuGet package that you install in your .NET Framework projects using Visual Studio, Visual Studio Code, or the .NET CLI. Your applications can run on-premise using TCP/IP for local network access, or in the cloud/off-site with an appropriate network connection to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log API][].

|Verified|Topic|  
|:---:|---|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-box-check" aria-hidden="true"></i> [Software Requirements](#fa-box-check-software-requirements)|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fab fa-windows" aria-hidden="true"></i> [What User Rights does the Log4Net Appender require?](#fa-windows-what-user-rights-does-the-log4net-appender-require)|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-shield-check" aria-hidden="true"></i> [What Firewall settings are required?](#fa-shield-check-what-firewall-settings-are-required)|  

## <i class="fal fa-box-check" aria-hidden="true"></i> Software Requirements

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log4Net Appender][] is distributed as a **NuGet package** available on [NuGet.org](https://www.nuget.org/packages/Nodinite.LogAgent.Log4NetAppender)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>.

<i class="fal fa-arrow-down-to-square" aria-hidden="true"></i> [Nodinite.LogAgent.Log4NetAppender on NuGet.org](https://www.nuget.org/packages/Nodinite.LogAgent.Log4NetAppender)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>

### Development Environment

|Product|Requirements|  
|---|---|  
|<i class="fal fa-code" aria-hidden="true"></i> **Visual Studio**|Visual Studio 2019, 2022, or later<br/>Visual Studio Code with C# extension<br/>.NET CLI (dotnet.exe)|  
|<i class="fal fa-box-open" aria-hidden="true"></i> **NuGet Package Manager**|Included with Visual Studio<br/>NuGet CLI for command-line scenarios|  
|<i class="fab fa-microsoft" aria-hidden="true"></i> **.NET Framework**|**.NET Standard 2.0** compatible<br/>.NET Framework 4.6.2 or later<br/>.NET Framework 4.7.2 or later (recommended)|  
|<i class="fal fa-search" aria-hidden="true"></i> **Log4Net**|Apache log4net 2.0.8 or later (installed as dependency)|  

### Runtime Environment

|Product|Versions|  
|---|---|  
|<i class="fab fa-windows" aria-hidden="true"></i> [Windows Server][]|Windows Server 2025<br/>Windows Server 2022<br/>Windows Server 2019<br/>Windows Server 2016<br/>Windows Server 2012 R2|
|<i class="fab fa-microsoft" aria-hidden="true"></i> **.NET Framework**|.NET Framework 4.6.2 or later<br/>.NET Framework 4.7.2 or later (recommended)|
|<i class="fal fa-cloud" aria-hidden="true"></i> **Azure**|Azure App Service<br/>Azure Virtual Machines<br/>Azure Container Instances (Windows containers)|  

### <i class="fal fa-arrows-alt" aria-hidden="true"></i> Supported Versions

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log4Net Appender][] is built using the [Apache log4net](https://www.nuget.org/packages/log4net)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> package from NuGet and targets **.NET Standard 2.0**. Please review the [Apache Log4Net release notes](https://logging.apache.org/log4net/release-notes.html)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> for additional information.  

><i class="fal fa-file-alt" aria-hidden="true"></i> Subscribe to [Release Notes][] to stay informed about new versions and features.

<h2 id="fa-windows-what-user-rights-does-the-log4net-appender-require"><i class="fab fa-windows" aria-hidden="true"></i> What User Rights does the Log4Net Appender require?</h2>

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log4Net Appender][] executes on the same thread as your Log4Net-enabled .NET Framework application. The appender creates a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JSON Log Event][] and posts it to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log API][] over the network.

### Required Permissions

* <i class="fal fa-network-wired" aria-hidden="true"></i> **Network Access**: The application must be able to make outbound HTTP/HTTPS requests to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Log API endpoint
* <i class="fal fa-user" aria-hidden="true"></i> **Application Permissions**: The user account or service identity running the application must have standard .NET Framework execution permissions
* <i class="fal fa-shield-halved" aria-hidden="true"></i> **No Special Privileges**: No administrative or elevated privileges are required

Local firewalls or network policies may block outbound traffic to the Log API; see the [firewall settings](#fa-shield-check-what-firewall-settings-are-required).

## <i class="fal fa-shield-check" aria-hidden="true"></i> What Firewall settings are required?

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log4Net Appender][] runs inside your application, so every connection is **outbound** from the Application Server. The `LogApiServiceURI` setting decides the path: straight to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log API][], or to a folder that the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Service][] reads and forwards. Each arrow starts at the side that opens the connection.

<div class="mermaid">
graph LR
    subgraph "Application Server"
        roNET(fa:fa-window-alt .NET App with Log4Net Appender)
    end
    subgraph "Nodinite Core Services Server"
        roLogAPI(fa:fa-cloud-arrow-down Log API)
        roPickup(fa:fa-truck-pickup Pickup Service)
    end
    subgraph "Intermediate storage (optional)"
        roShare(fa:fa-folder File share)
    end
    subgraph "SQL Server (Nodinite databases)"
        roDB(fa:fa-database Log Databases)
    end
    subgraph "DNS Server"
        roDNS(fa:fa-signs-post DNS)
    end
    roNET --> |"Log API site port"| roLogAPI
    roNET -.-> |"445 (UNC path)"| roShare
    roPickup -.-> |"445"| roShare
    roPickup -.-> |"Log API site port"| roLogAPI
    roLogAPI -.-> |"1433"| roDB
    roNET --> |"53"| roDNS
</div>

*Network diagram: the appender posts [Log Events][] to the Log API, or writes files that the Pickup Service picks up. Dashed arrows are optional hops or hops documented on other pages.*

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>No <a href="https://docs.nodinite.com/core-services/monitoring-service/overview/">Monitoring Service</a> or Agent Server hop exists: the appender is a library in your application, and nothing calls into it. When the application runs on the Core Services Server, you need no firewall rule for the Log API hop.</p></div>
</aside>

### Between the Log4Net Appender and the Log API

Required when `LogApiServiceURI` is a Log API address. On Windows Server, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 hosts the [Log API][] as its own [IIS][] web site, on a port you set per environment in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> ([Servers step][]); the address is `https://{host}:{port}/LogAPI/`.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Application Server|Core Services Server|TCP (HTTPS/HTTP)|Log API site port|Post [JSON Log Events][JSON Log Event] to the [Log API][]|v7. No fixed default; use the port set in the Portal and in `LogApiServiceURI`. The call is synchronous|  
|Inbound|Core Services Server|Application Server|TCP|Log API site port|Response traffic|Automatically allowed by stateful firewall inspection|  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Use HTTPS with a valid SSL/TLS certificate in production; see the <a href="https://docs.nodinite.com/install-and-update/troubleshooting/iis/how-to-perform-hardening-on-your-nodinite-installation/">Hardening</a> guide. The application's service account or app identity needs network access to the Log API endpoint.</p></div>
</aside>

### Between the Log4Net Appender and the intermediate storage

Required only when `LogApiServiceURI` is a folder on a network share (UNC path). A local folder needs no firewall rule.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Application Server|File share|TCP|445|Write Log Event files (SMB)|Windows authentication also needs the Domain Controller ports|  

The [Pickup Service][] then reads the folder and posts the Log Events to the Log API; its ports are in the [Pickup Service firewall settings][Pickup firewall].

### Between the Log API and the Log Databases

The [Log API][] writes to the [Log Databases][] on SQL Server. That [Core Services][] hop is documented in the [Log API firewall settings][Log API firewall]; it needs no rule on the Application Server.

### Between the servers and DNS

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Application Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the Core Services Server (and the file share). A local `hosts` file can replace DNS|  

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>Stateful Firewalls</strong>: Most Windows Firewall implementations are stateful, so response traffic for established outbound connections is allowed automatically. The inbound response rules above are for reference and troubleshooting.</p></div>
</aside>

___

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions

Additional solutions to common problems and the FAQ for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log4Net Appender][] exist in the [Troubleshooting][] user guide.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-rocket" aria-hidden="true"></i> [Install the Log4Net Appender][Install]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fal fa-gears" aria-hidden="true"></i> [Administration][]  
<i class="fal fa-cloud-arrow-down" aria-hidden="true"></i> [Log API][]  
<i class="fal fa-file-code" aria-hidden="true"></i> [JSON Log Event][]  

[Administration]:https://docs.nodinite.com/administration/overview/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Hardening]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/how-to-perform-hardening-on-your-nodinite-installation/
[IIS]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/iis/
[Install]:https://docs.nodinite.com/logging-and-monitoring/log4net-appender/getting-started/install/
[JSON Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log API firewall]:https://docs.nodinite.com/core-services/log-api/getting-started/prerequisites/#what-firewall-settings-are-required-for-the-log-api
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Events]:https://docs.nodinite.com/core-services/log-event/overview/
[Log4Net Appender]:https://docs.nodinite.com/logging-and-monitoring/log4net-appender/overview/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[NodinitePortal]:https://portal.nodinite.com
[Pickup firewall]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/prerequisites/#fa-shield-check-firewall-requirements
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Release Notes]:https://portal.nodinite.com/marketplace/17
[Servers step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/log4net-appender/troubleshooting/overview/
[Windows Server]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/windows-server/