---
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.
---

# <i class="fal fa-screwdriver-wrench" aria-hidden="true"></i> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.**

## Why Teams Choose Custom Logging

**When your integration platform lacks built-in logging or a dedicated <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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

**<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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

<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>Always set OriginalMessageTypeName for searchable business data</strong> - When implementing Custom Logging, the <a href="https://docs.nodinite.com/repository-model/message-types/overview/">Message Types</a> field is <strong>critical</strong> for enabling business intelligence features. Without proper Message Types:</p><ol>
<li><a href="https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/">Search Field Expressions</a> cannot extract Order Numbers, Customer IDs, Invoice amounts, Transaction codes, or other business identifiers</li>
<li><a href="https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/">Log Views</a> can only search by timestamps and correlation IDs, not by business data</li>
<li><a href="https://docs.nodinite.com/logging-and-monitoring/non-events/overview/">Non-Events Monitoring</a> cannot track message volumes, detect missing messages, or alert on pattern anomalies</li>
<li><a href="https://docs.nodinite.com/repository-model/bpms/overview/">Business Process Modeling (BPM)</a> cannot correlate transactions end-to-end across your custom solution and other systems</li>
</ol><p><strong>Set <code>OriginalMessageTypeName</code> in your <a href="https://docs.nodinite.com/core-services/log-event/features/json-log-event/">JSON Log Event</a> before writing to intermediate storage.</strong> 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.</p></div>
</aside>

<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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JSON Log Events][JSON Log Event], which the Pickup Service asynchronously collects and delivers to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log API][].*

Customers and Partners have successfully used Custom Logging to log business transactions to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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)  

### <i class="fal fa-square-plus" aria-hidden="true"></i> Custom Logging Checklist

Follow these best practices for your Custom Logging strategy:

* **<i class="fal fa-file" aria-hidden="true"></i> Configure [Message Types][] FIRST** - Plan your Message Types before writing logging code. This is **mandatory** for searchable business data.
* **<i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> 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.  
* **<i class="fal fa-table-list" aria-hidden="true"></i> Create role-based [Log Views][]** - Enable business users to self-service search by business data.
* **<i class="fal fa-stopwatch" aria-hidden="true"></i> Configure [Non-Events Monitoring][]** - Track expected message volumes and alert on anomalies.
* **<i class="fal fa-project-diagram" aria-hidden="true"></i> Design [BPM][] processes** - Correlate end-to-end transactions across systems using Message Types.  

<h2 id="choose-your-logging-approach"><i class="fal fa-route" aria-hidden="true"></i> Choose Your Logging Approach</h2>

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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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|  

<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>Log basic events first (timestamps, status codes, correlation IDs), add Message Types and Search Fields in week 2 for business-data extraction, add <a href="https://docs.nodinite.com/logging-and-monitoring/non-events/overview/">Non-Events Monitoring</a> and <a href="https://docs.nodinite.com/repository-model/bpms/overview/">BPM</a> in weeks 3-4 for advanced features.</p></div>
</aside>

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

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

Your solution never connects to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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.

---

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

* <i class="fal fa-file" aria-hidden="true"></i> [Message Types][] - start here, mandatory  
* <i class="fal fa-code" aria-hidden="true"></i> [.NET Hello World Sample][Hello World - Sample]  
* <i class="fal fa-plug" aria-hidden="true"></i> [Mule ESB Custom Connector][Mule ESB - Custom Connector]  
* <i class="fal fa-truck-pickup" aria-hidden="true"></i> [Install Pickup Service][Pickup Service - Install]  
* <i class="fal fa-users" aria-hidden="true"></i> [Role-based Log Views][Roles] for business users  

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

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

[Accelerate Compliance Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Asynchronous Logging]:https://docs.nodinite.com/core-services/log-api/features/asynchronous-logging/
[Best Practices Library]:https://docs.nodinite.com/getting-started/log/logging-strategy/logging-best-practices-library/
[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[Context Options]:https://docs.nodinite.com/core-services/log-event/features/context-options/
[Detect Silent Failures]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[Empower Business Users]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/business-reports/
[Escape Vendor Lock-In]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/appender-frameworks/
[FAQ and Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/overview/
[Generate Log Events]:https://docs.nodinite.com/core-services/log-api/troubleshooting/faq-generate-log-events/
[Hello World - Sample]:https://docs.nodinite.com/core-services/log-api/troubleshooting/faq-hello-world-net-sample/
[Implement Production-Ready Logging]:https://docs.nodinite.com/core-services/log-api/troubleshooting/faq-hello-world-net-sample/
[Intermediate Storage]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/intermediate-storage/
[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 Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Log4Net - New Application]:https://docs.nodinite.com/logging-and-monitoring/log4net-appender/troubleshooting/implement-in-a-new-net-application/
[Log4Net Appender]:https://docs.nodinite.com/logging-and-monitoring/log4net-appender/overview/
[Logging]:https://docs.nodinite.com/logging/
[Logging Strategy]:https://docs.nodinite.com/getting-started/log/logging-strategy/overview/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Mule ESB - Custom Connector]:https://docs.nodinite.com/logging-and-monitoring/mulesoft-anypoint-platform-logging/features/custom-connector/
[Non-Events Monitoring]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[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/
[Pickup Service - Install]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/install/
[Reduce Developer Troubleshooting Time]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/applicationinterchangeid/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Search Field Expressions]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Serilog]:https://docs.nodinite.com/logging-and-monitoring/serilog/overview/
[Serilog - How To Start]:https://docs.nodinite.com/logging-and-monitoring/serilog/how-to-start-logging-with-serilog/
[Unify Logging Across Platforms]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/supported-platforms/
[WCF Diagnostics Tracing Feature]:https://docs.nodinite.com/logging-and-monitoring/wcf-diagnostics-tracing/overview/