Prerequisites for the Nodinite Log4Net Appender
Section titled “ Prerequisites for the Nodinite Log4Net Appender”Prepare your .NET Framework development environment to integrate the Nodinite 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 Nodinite Log4Net Appender NuGet package in your .NET Framework projects.
The Nodinite 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 Nodinite Log API.
| Verified | Topic |
|---|---|
| Software Requirements | |
| What User Rights does the Log4Net Appender require? | |
| What Firewall settings are required? |
Software Requirements
Section titled “ Software Requirements”The Nodinite Log4Net Appender is distributed as a NuGet package available on NuGet.org.
Nodinite.LogAgent.Log4NetAppender on NuGet.org
Development Environment
Section titled “Development Environment”| Product | Requirements |
|---|---|
| Visual Studio | Visual Studio 2019, 2022, or later Visual Studio Code with C# extension .NET CLI (dotnet.exe) |
| NuGet Package Manager | Included with Visual Studio NuGet CLI for command-line scenarios |
| .NET Framework | .NET Standard 2.0 compatible .NET Framework 4.6.2 or later .NET Framework 4.7.2 or later (recommended) |
| Log4Net | Apache log4net 2.0.8 or later (installed as dependency) |
Runtime Environment
Section titled “Runtime Environment”| Product | Versions |
|---|---|
| Windows Server | Windows Server 2025 Windows Server 2022 Windows Server 2019 Windows Server 2016 Windows Server 2012 R2 |
| .NET Framework | .NET Framework 4.6.2 or later .NET Framework 4.7.2 or later (recommended) |
| Azure | Azure App Service Azure Virtual Machines Azure Container Instances (Windows containers) |
Supported Versions
Section titled “ Supported Versions”The Nodinite Log4Net Appender is built using the Apache log4net package from NuGet and targets .NET Standard 2.0. Please review the Apache Log4Net release notes for additional information.
Subscribe to Release Notes to stay informed about new versions and features.
What User Rights does the Log4Net Appender require?
Section titled “ What User Rights does the Log4Net Appender require?”The Nodinite Log4Net Appender executes on the same thread as your Log4Net-enabled .NET Framework application. The appender creates a Nodinite JSON Log Event and posts it to the Nodinite Log API over the network.
Required Permissions
Section titled “Required Permissions”- Network Access: The application must be able to make outbound HTTP/HTTPS requests to the Nodinite Log API endpoint
- Application Permissions: The user account or service identity running the application must have standard .NET Framework execution permissions
- 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.
What Firewall settings are required?
Section titled “ What Firewall settings are required?”The Nodinite Log4Net Appender runs inside your application, so every connection is outbound from the Application Server. The LogApiServiceURI setting decides the path: straight to the Nodinite Log API, or to a folder that the Nodinite Pickup Service reads and forwards. Each arrow starts at the side that opens the connection.
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.
Between the Log4Net Appender and the Log API
Section titled “Between the Log4Net Appender and the Log API”Required when LogApiServiceURI is a Log API address. On Windows Server, Nodinite v7 hosts the Log API as its own IIS web site, on a port you set per environment in the Nodinite Portal (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 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 |
Between the Log4Net Appender and the intermediate storage
Section titled “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.
Between the Log API and the Log Databases
Section titled “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; it needs no rule on the Application Server.
Between the servers and DNS
Section titled “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 |
Frequently asked questions
Section titled “ Frequently asked questions”Additional solutions to common problems and the FAQ for the Nodinite Log4Net Appender exist in the Troubleshooting user guide.