- 4 minutes to read

Prerequisites for the Nodinite Log4Net Appender

Prepare your .NET applications for seamless, secure, and scalable logging with the Nodinite Log4Net Appender. This page outlines everything you need to get started, including software, user rights, and network requirements.

With this guide, you will:

✅Ensure compatibility with your .NET environment ✅Meet all security and network prerequisites ✅Enable robust, centralized monitoring and logging ✅Avoid common pitfalls and configuration issues

This page describes the prerequisites to make the Nodinite Log4Net Appender operational for Logging and Monitoring scenarios.

graph LR subgraph "Custom .NET based solutions" roNET1[fal:fa-code .NET Application] --> |Log4NET|roLA(fal:fa-comment-times Nodinite Log4Net Appender) roNET2(fal:fa-globe Web Service) --> |Log4NET|roLA roNET3(fal:fa-window-alt ...) -.-> |Log4NET|roLA end subgraph "Nodinite" roLogAPI(fal:fa-cloud-arrow-down Log API) roLA --> |Logging| roLogAPI roLogAPI --> roDB(fal:fa-database Log Databases) end

The Nodinite Log4Net Appender can be installed and configured with most Log4Net-enabled .NET applications. These applications may exist on-premise using TCP/IP for local network access or in the cloud/off-site, using an appropriate port with an open connection with the Nodinite Log API.

Verified Topic
Software Requirements
What Windows User Rights does the Log4Net Appender require?
What Firewall settings are required for the Log4Net Appender?

Software Requirements

The Nodinite Log4Net Appender is a NuGet package (a .DLL), and you embed it together with your application/solution.

Package on NuGet.org

Product Versions
Windows Server Windows 2025
Windows 2022
Windows 2019
Windows 2016
Windows 2012 R2
Windows 2012
.NET .NET Standard 2.0, which means we are supporting .NET Framework 4.6.2 and later, and all .NET and .NET Core versions >= 2.0

Supported Versions

The Nodinite Log4Net Appender is built using the Log4Net package from NuGet. Please review the Apache Log4Net release notes for additional information.

Make sure to subscribe to our Release Notes.

What Windows User Rights does the Log4Net Appender require?

The Nodinite Log4Net Appender executes on the thread of the Log4Net-enabled .NET application. The data, a Nodinite JSON Log Event, gets posted to the Nodinite Log API. The application must be able to communicate potentially over the network. There may be firewalls or other local policies involved that may block this traffic.

What Firewall settings are required for the Log4Net Appender?

The Log4Net Appender has outbound communication only:

  1. Between the Nodinite Log4Net Appender and the Nodinite Log API
graph LR subgraph "Custom .NET based solutions" roNET3(fal:fa-window-alt ...) -.->|Log4NET|roLA(fal:fa-comment-times Nodinite Log4Net Appender) end subgraph "Nodinite" roLogAPI(fal:fa-cloud-arrow-down Log API) roLA --> |80/443/...| roLogAPI roLogAPI -.-> roDB(fal:fa-database Log Databases) end

1. Between the Log4Net Appender and Nodinite Log API

Server types: Application Server (custom .NET application with Log4Net Appender), Nodinite Server (Log API).

Log API Connection (Application → Nodinite Log API)

The Log4Net Appender sends log events to the Nodinite Log API for storage and analysis.

Direction Source Destination Protocol Port(s) Purpose Notes
Outbound Application Server Nodinite Server (Log API) TCP 80 (HTTP), 443 (HTTPS) Log event submission Application posts JSON log events
Inbound Nodinite Server Application Server TCP 80 (HTTP), 443 (HTTPS) Response traffic Allowed automatically by stateful firewalls

Tip

HTTPS Recommended: For production environments, configure the Log API to use HTTPS (port 443) with valid SSL/TLS certificates to encrypt log data in transit. Review the Hardening guide for security best practices.

Tip

Custom Ports: The Nodinite Log API can be configured to use any available TCP port. Verify the actual port in your Log API configuration and adjust the Log4Net Appender settings accordingly.

Tip

Application Identity: The Log4Net Appender executes on the thread of the Log4Net-enabled .NET application. Ensure the application's service account or user context has network access to the Log API endpoint.

Note

DNS Resolution: All servers (Application Server and Nodinite Server) require outbound access to DNS on TCP/UDP port 53 for name resolution. You can optionally solve this using entries in the local hosts file on each server.

Important

Stateful Firewalls: Most modern Windows Firewall implementations are stateful, meaning inbound response traffic for established outbound connections is automatically allowed. The inbound rules listed above are primarily for reference and troubleshooting scenarios where stateful inspection may be disabled or restricted.


Frequently asked questions

Additional solutions to common problems and the FAQ for the Nodinite Log4Net Appender exist in the Troubleshooting user guide.

Next Step

Install the Log4Net Appender

Administration