---
title: Custom Logging (DIY) – Asynchronous, Vendor-Neutral Logging for Any Integration Platform
description: Discover how to implement Custom Logging with Nodinite for any integration platform, ensuring reliable, asynchronous, and vendor-neutral business transaction tracking.
---

# :fa-screwdriver-wrench: Custom Logging (DIY)

**Track business transactions from any integration platform—webMethods, IBM Sterling, Apache Camel, MuleSoft, or custom-built solutions—with vendor-neutral logging that integrates seamlessly into :Nodinite:.**

## Why Teams Choose Custom Logging

**When your integration platform lacks built-in logging or a dedicated :Nodinite: agent, Custom Logging bridges the gap—transforming integration chaos into unified visibility:**

* **Unify 8+ platforms** - Eliminate log silos across webMethods, IBM Sterling, Apache Camel, MuleSoft, and custom solutions with consistent search and correlation
* **Reduce troubleshooting time 75%** - Implement ApplicationInterchangeId correlation across platforms—troubleshoot end-to-end in minutes instead of hours
* **Enable self-service analytics** - Extract Order Numbers, Customer IDs, and amounts into searchable fields—business users answer their own questions without SQL
* **Accelerate compliance audits 95%** - Centralize immutable audit trails with instant exports—SOX/GDPR/HIPAA audit prep from 3 weeks to 90 seconds
* **Detect silent failures** - [Non-Events Monitoring][] alerts when expected messages don't arrive—catch production issues before customer impact
* **Escape vendor lock-in** - Appender-based abstraction ([Log4Net][Log4Net Appender], [Serilog][], Log4J) lets you swap platforms without rewriting logging code

**:Nodinite: Custom Logging transforms fragmented platform-specific logs into unified business intelligence:**

✅ **Log from any platform**—webMethods, IBM Sterling, Apache Camel, MuleSoft, Frends, iCore, TEIS, custom .NET/Java/Node.js solutions  
✅ **Vendor-neutral architecture**—appender-based (Log4Net, Serilog, Log4J) prevents lock-in, supports multiple destinations  
✅ **Asynchronous reliability**—[Pickup Service][] fetches logs from queues/files/databases without blocking your integrations  
✅ **Business-data extraction**—[Message Types][] + [Search Field Expressions][] extract Order Numbers, Customer IDs, Transaction codes for self-service search  
✅ **End-to-end correlation**—Track transactions across 8+ systems using ApplicationInterchangeId with [BPM][] visualization  
✅ **Proven templates ready**—Mule ESB connector, .NET samples, Serilog appenders, WCF diagnostics—start in hours, not weeks  
✅ **Zero integration changes**—Add logging without modifying existing platform logic or deployment processes

>[!IMPORTANT]
>**Always set OriginalMessageTypeName for searchable business data** - When implementing Custom Logging, the [Message Types][] field is **critical** for enabling business intelligence features. Without proper Message Types:
>
>1. [Search Field Expressions][] cannot extract Order Numbers, Customer IDs, Invoice amounts, Transaction codes, or other business identifiers
>2. [Log Views][] can only search by timestamps and correlation IDs, not by business data
>3. [Non-Events Monitoring][] cannot track message volumes, detect missing messages, or alert on pattern anomalies
>4. [Business Process Modeling (BPM)][BPM] cannot correlate transactions end-to-end across your custom solution and other systems
>
>**Set `OriginalMessageTypeName` in your [JSON Log Event][] before writing to intermediate storage.** Plan your Message Types during development—they define how Nodinite extracts searchable business data from your logged messages. Message Types cannot be changed after events are logged.

<div class="mermaid">
graph LR
    subgraph "Systems Integrations Solutions"
    roStrategy(fal:fa-lightbulb-on Logging Strategy) --> roBroker{fal:fa-brackets-curly Reusable</br>Generic Logging logic}
    roBroker --> | Nodinite JSON Log Event | roSink(fal:fa-file-export Intermediate storage )  
    roBroker -.->|"The other format(s)"| ro2["Other Log destination(s)"]  
    end
    subgraph "Nodinite instance"
        roPS(fal:fa-truck-pickup Pickup Service) -->roNI(fal:fa-cloud-arrow-down Log API)
        roSink --> roPS
    end
</div>

*Diagram: Custom Logging architecture—shows how reusable logging logic in your integration solution produces :Nodinite: [JSON Log Events][JSON Log Event], which the Pickup Service asynchronously collects and delivers to the :Nodinite: [Log API][].*

Customers and Partners have successfully used Custom Logging to log business transactions to :Nodinite: from:

* Apache Camel
* IBM Sterling
* iCore
* Frends
* Ghostnodes
* MoveIT
* TEIS (TietoEvry)
* webMethods (Software AG)

## Design Goals

When your integration platform lacks built-in tracking or a :Nodinite: [Logging Agent][Logging], you must produce a [JSON formatted Log Event][JSON Log Event] and place it on a highly available target (such as a queue, file share, or database).

The :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service] fetches your [Log Events][Log Event] **asynchronously**, so you write less custom code, achieve reliable logging, and prevent overloading :Nodinite: in your custom-built solutions.

<div class="mermaid">
graph LR
    subgraph "Custom Logging"
        roLogSink("fal:fa-bolt Custom Logging Solution</br>.NET/.NET Core</br>Mule ESB</br>Java/NodeJS/</br>webMethods/...") --> roId1["fal:fa-list Queue </br>fal:fa-folder Folder </br>..."]
    end
    subgraph "Web Server"
        roLogAPI(fal:fa-cloud-arrow-down Log API)
        roPS(fal:fa-truck-pickup Pickup Service)--> roLogAPI
        roId1 -."1. Async Log Event".-x roPS
        roLogSink -->|"2. Synchronous Log Event"| roLogAPI  
    end
</div>

*Diagram: Two approaches—Async (recommended) and Synchronous logging. Async uses intermediate storage and Pickup Service for reliability and scalability.*

1. Async Log Event – [Asynchronous Logging][]  
2. Synchronous Log Event (**NOT** recommended)  

### :fa-square-plus: Custom Logging Checklist

Follow these best practices for your Custom Logging strategy:

* **:fa-file: Configure [Message Types][] FIRST** - Plan your Message Types before writing logging code. This is **mandatory** for searchable business data.
* **:fa-magnifying-glass-plus: Define [Search Field Expressions][]** - Configure which business identifiers to extract (Order Numbers, Customer IDs, Invoice amounts, etc.) based on your Message Types.
* Make Custom Logging [Asynchronous][Asynchronous Logging] for reliability and scalability.  
* Use an appender-based strategy to **avoid vendor lock-in**.  
  * [Log4Net Appender][]  
  * [Serilog][]  
  * [WCF][WCF Diagnostics Tracing Feature]  
  * Log4J  
* Provide all necessary data:  
  * **OriginalMessageTypeName** (mandatory for business intelligence)
  * Properties (key/value) via [Context Options][]
  * Message Body/Bodies (XML, JSON, Flatfile, CSV, EDIFACT, X12, ...)  
  * Correlation IDs (ApplicationInterchangeId) for transaction tracking
* Write custom code with a vendor-neutral abstraction layer to prevent lock-in.  
* Reuse a shared custom Logging component to support multiple, replaceable destinations.  
* **:fa-table-list: Create role-based [Log Views][]** - Enable business users to self-service search by business data.
* **:fa-stopwatch: Configure [Non-Events Monitoring][]** - Track expected message volumes and alert on anomalies.
* **:fa-project-diagram: Design [BPM][] processes** - Correlate end-to-end transactions across systems using Message Types.  

## :fa-route: Choose Your Logging Approach {#choose-your-logging-approach}

Pick the approach that fits your platform and team. All three produce the same [JSON Log Events][JSON Log Event].

|Approach|Use it when|Hands-on guides|
|---|---|---|
|**Appender-based** (recommended)|Your .NET or Java code already uses a logging framework, and you want to swap or add destinations without rewriting logging code|[How to start logging with Serilog][Serilog - How To Start], [Implement the Log4Net Appender in a new .NET application][Log4Net - New Application], [Choosing an appender framework][Escape Vendor Lock-In]|
|**Create Log Events yourself** with the :Nodinite: NuGet package|You want full control over every Log Event field in your .NET code|[Hello World .NET sample][Hello World - Sample], [Generate Log Events with PowerShell][Generate Log Events]|
|**Nodinite pulling agent** ([Pickup Service][])|Your platform (webMethods, IBM Sterling, Apache Camel, …) can write JSON Log Events to a queue, folder, or database|[Install the Pickup Service][Pickup Service - Install], [Intermediate storage vs direct Log API calls][Intermediate Storage]|

Whichever approach you choose, write to intermediate storage (a queue, folder, or database) and let the [Pickup Service][] deliver to the Log API, so logging never blocks your integrations. This [Asynchronous Logging][] is recommended over calling the Log API directly.

---

## Real-World Impact

**See proven results from customer implementations:**

|**Scenario**|**Business Value**|**Time Savings**|  
|---|---|---|  
|[🔗 Unify Logging Across 8+ Platforms][Unify Logging Across Platforms]|Healthcare: 95% faster troubleshooting|2-3 hours → 90 seconds|  
|[💰 Reduce Troubleshooting Time][Reduce Developer Troubleshooting Time]|Financial: $180K/year saved|15 hrs/week → 4 hrs/week|  
|[📊 Enable Self-Service Analytics][Empower Business Users]|Manufacturing: 80% fewer dev interruptions|8 hours → 30 seconds|  
|[📋 Accelerate Compliance Audits][Accelerate Compliance Audits]|Insurance: 95% audit prep reduction|3 weeks → 2 hours|  
|[🚨 Detect Silent Failures][Detect Silent Failures]|E-commerce: $40K revenue saved|12 hours → 5 minutes|  
|[🏗️ Escape Vendor Lock-In][Escape Vendor Lock-In]|Logistics: $450K migration unblocked|Platform-independent|  
|[🎯 Production-Ready in Hours][Implement Production-Ready Logging]|SaaS: CEO insights in 30 seconds|24 developer-hours|  

---

## Get Started

|**Step**|**Action**|**Description**|  
|---|---|---|  
|**1. Plan Message Types**|[Define Message Types][Message Types]|**Critical first step**—identify message formats ("PurchaseOrder#1.0", "Invoice#2.0"), plan versioning strategy|  
|**2. Install Pickup Service**|[Install Pickup Service][Pickup Service - Install]|Deploy agent to Windows Server—fetches JSON Log Events from intermediate storage|  
|**3. Choose Template**|[.NET Sample][Hello World - Sample], [Mule Connector][Mule ESB - Custom Connector], [Serilog][]|Select proven template for your platform—webMethods Java, .NET Core Serilog, MuleSoft connector|  
|**4. Implement Logging**|Create [JSON Log Events][JSON Log Event]|Add logging calls to integration code—queue, file share, or database (asynchronous recommended)|  
|**5. Configure Search Fields**|[Create Search Field Expressions][Search Field Expressions]|Extract business identifiers (Order Numbers, Customer IDs, amounts) from message bodies into [Search Fields][]|  
|**6. Enable Business Access**|[Create Log Views][Log Views] with [role-based permissions][Roles]|Grant business teams self-service search—filter by Message Type, business data, date ranges|  

>[!NOTE]
>Log basic events first (timestamps, status codes, correlation IDs), add Message Types and Search Fields in week 2 for business-data extraction, add [Non-Events Monitoring][] and [BPM][] in weeks 3-4 for advanced features.

[View detailed implementation steps →][Hello World - Sample] • [Browse FAQ answers →][FAQ and Troubleshooting]

## :fa-shield-check: What firewall settings are required?

Your solution never connects to :Nodinite: directly, so you open these hops only:

* **Your solution → intermediate storage**: the storage's own port, for example SMB 445 for a file share, 1433 for SQL Server, 5671-5672 and 443 for Azure Event Hubs or Service Bus, or 443 for Azure Blob Storage. A local folder or database needs no rule.
* **[Pickup Service][] → intermediate storage**: the same port, outbound from the server that runs the Pickup Service.
* **Pickup Service → [Log API][]**: the Log API site port, set per environment in the :Nodinite: Portal. No rule is needed when both run on the Core Services Server.

The [Pickup Service firewall settings][Pickup firewall] list every port and hostname per storage type.

---

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

* :fa-file: [Message Types][] - start here, mandatory  
* :fa-code: [.NET Hello World Sample][Hello World - Sample]  
* :fa-plug: [Mule ESB Custom Connector][Mule ESB - Custom Connector]  
* :fa-truck-pickup: [Install Pickup Service][Pickup Service - Install]  
* :fa-users: [Role-based Log Views][Roles] for business users  

## :fa-link-horizontal: Related Topics

* :fa-books: [Logging Best Practices Library][Best Practices Library]  
* :fa-compass: [Plan Your Logging with Nodinite][Logging Strategy]  
* :fa-book: [Log API Overview][Log API]  
* :fa-file: [JSON Log Events][JSON Log Event]  
* :fa-truck-pickup: [Pickup Service][Pickup Service]  
* :fa-bars-sort: [Message Types][]  
* :fa-magnifying-glass: [Search Field Expressions][]  
* :fa-eye: [Log Views][]  
* :fa-bell: [Non-Events Monitoring][Non-Events Monitoring]  
* :fa-project-diagram: [Business Process Modeling][BPM]  

[Accelerate Compliance Audits]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Asynchronous Logging]:{ndr}/Core%20Services/Log%20API/Features/Asynchronous%20Logging.md
[Best Practices Library]:{ndr}/Getting%20Started/2.%20Log/Logging%20Strategy/Logging%20Best%20Practices%20Library.md
[BPM]:{ndr}/Repository%20Model/BPMs/Overview.md
[Context Options]:{ndr}/Core%20Services/Log%20Event/Features/Context%20Options.md
[Detect Silent Failures]:{ndr}/Logging%20and%20Monitoring/Non-Events/Overview.md
[Empower Business Users]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Business%20Reports.md
[Escape Vendor Lock-In]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Appender%20Frameworks.md
[FAQ and Troubleshooting]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Overview.md
[Generate Log Events]:{ndr}/Core%20Services/Log%20API/Troubleshooting/FAQ%20-%20Generate%20Log%20Events.md
[Hello World - Sample]:{ndr}/Core%20Services/Log%20API/Troubleshooting/FAQ%20-%20Hello%20World%20-%20.NET%20Sample.md
[Implement Production-Ready Logging]:{ndr}/Core%20Services/Log%20API/Troubleshooting/FAQ%20-%20Hello%20World%20-%20.NET%20Sample.md
[Intermediate Storage]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Intermediate%20Storage.md
[JSON Log Event]:{ndr}/Core%20Services/Log%20Event/Features/JSON%20Log%20Event.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Log4Net - New Application]:{ndr}/Logging%20and%20Monitoring/Log4Net%20Appender/Troubleshooting/Implement%20in%20a%20new%20.NET%20application.md
[Log4Net Appender]:{ndr}/Logging%20and%20Monitoring/Log4Net%20Appender/Overview.md
[Logging]:nodiniteDoc:/Logging
[Logging Strategy]:{ndr}/Getting%20Started/2.%20Log/Logging%20Strategy/Overview.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Mule ESB - Custom Connector]:{ndr}/Logging%20and%20Monitoring/MuleSoft%20-%20AnyPoint%20Platform%20-%20Logging/Features/Custom%20Connector.md
[Non-Events Monitoring]:{ndr}/Logging%20and%20Monitoring/Non-Events/Overview.md
[Pickup firewall]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/1.%20Prerequisites.md#fa-shield-check-firewall-requirements
[Pickup Service]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Overview.md
[Pickup Service - Install]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/2.%20Install.md
[Reduce Developer Troubleshooting Time]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/ApplicationInterchangeId.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Search Field Expressions]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Overview.md
[Search Fields]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/What%20is%20a%20Search%20Field.md
[Serilog]:{ndr}/Logging%20and%20Monitoring/Serilog/Overview.md
[Serilog - How To Start]:{ndr}/Logging%20and%20Monitoring/Serilog/How%20To%20Start%20Logging%20With%20Serilog.md
[Unify Logging Across Platforms]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Supported%20Platforms.md
[WCF Diagnostics Tracing Feature]:{ndr}/Logging%20and%20Monitoring/WCF%20Diagnostics%20Tracing/Overview.md