---
title: Enable and manage Logging from Apache Camel with Nodinite | Step-by-step Guide
description: "Enable robust, self-service logging from Apache Camel to Nodinite. Learn how to implement asynchronous logging, leverage Log Views, and empower your business with actionable insights using Nodinite's Pickup Service."
---

# How to enable Logging from Apache Camel solutions to Nodinite

Unlock powerful, self-service logging for your Apache Camel solutions with :Nodinite:. This guide shows you how to implement asynchronous logging, leverage [Log Views][], and empower your business with actionable insights—all in one unified platform.

✅ Enable robust, asynchronous logging from Apache Camel to :Nodinite:  
✅ Empower business users with self-service Log Views  
✅ Capture payloads, context, and selected flows for full traceability  
✅ Centralize all your logging and monitoring in :Nodinite:  

> Learn how to perform [Asynchronous Logging][] from Apache Camel to :Nodinite:.

You must add custom logging code to your Apache Camel solution to log business transactions to :Nodinite:.

<div class="mermaid">
graph LR
    subgraph "Apache Camel"
        roBroker(fal:fa-brackets-curly Custom Code)-->roSink(fal:fa-file-export Intermediate storage )
    end
    subgraph "Nodinite instance"
        roPS(fal:fa-truck-pickup Pickup Service) -->roNI(fal:fa-cloud-arrow-down Log API)
        roSink --> roPS
    end
</div>  

*Diagram: Data flows from Apache Camel custom code to :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service] and [Log API][].*

Enable self-service [Log Views][] for your business by implementing the following:  

✅ Payload logging  
✅ Context logging (key-value)  
✅ Selected flows (any number)  

## Step by step guide

Follow these steps to enable seamless logging from Apache Camel to :Nodinite:.

### 1. Create the event

In your flows, add custom logging (regardless of the target). Typically, you use **Log4J** or similar frameworks depending on your design, policy, and needs.  

>[!TIP]
>Design your logging strategy to be vendor-neutral. Make your logging logic easy to enable or disable, and ensure you can manage log destinations without redesigning solutions already in production.

<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: Logging strategy routes events to :Nodinite: and other destinations for maximum flexibility.*

### 2. Convert the logged event to Nodinite format

Translate your logs to :Nodinite: [JSON Log Event][].

To uniquely identify the [Log Agent][Log Agents], provide a **LogAgentValueId**. To separate logging from different environments (e.g., Prod, Test, QA), make the **LogAgentValueId** (mandatory number) a configurable part of your Apache Camel solution.

>[!TIP]
>Map your existing properties to :Nodinite:'s standard properties. Attach context and payload as needed to maximize value.

>[!NOTE]
>**Critical: Set OriginalMessageTypeName for searchable data**
>
>When creating your [JSON Log Event][], always include the **OriginalMessageTypeName** field:
>
>1. [Message Types][] identify message formats (PurchaseOrder, Invoice, Shipment, CustomerUpdate, etc.)
>2. [Search Field Expressions][] extract business data - Order Numbers, Customer IDs, Invoice amounts, Transaction codes, etc.
>3. [Log Views][] become searchable by business identifiers, not just timestamps
>4. [Non-Events Monitoring][] can track volumes, detect missing messages, and alert on pattern anomalies
>5. [Business Process Modeling (BPM)][BPM] can correlate transactions end-to-end across Apache Camel and other systems
>
>**Without proper Message Types and [Search Fields][], your Apache Camel events are stored but not searchable by business data.** Learn more: [Log Event Processing][]

### 3. Send Event to intermediate storage

The :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service] fetches logged events from many intermediate storages.

Your intermediate storage should be close to the Apache Camel installation (i.e., local) and highly available.

>[!IMPORTANT]
>Do not send your logged events **synchronously** to the :Nodinite: [Log API][]. Always use the asynchronous pattern with the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service].

:fa-arrow-to-right: [Asynchronous Logging][]

### 4. Move logged events using the Nodinite Pickup Service

The :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service] fetches [Log Events][Log Event] from many intermediate storages. Consume the [Log Events][Log Event] from any of these that fit your purpose.

### 5. Enable self-service from within Nodinite

Once you have data logged inside :Nodinite:, create [Role][Roles]-based [Log Views][] and invite your business to share insights and data from your logging.

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

Apache Camel never connects to :Nodinite: directly, so you open these hops only:

* **Apache Camel → 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-question: Frequently asked questions

Apache Camel Logging uses the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service].

You can find solutions to common problems and the FAQ for the :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service] in the [Pickup Troubleshooting][] user guide.

### :fa-play: How do I get started?

First, read our [Asynchronous Logging][] user guide.

### :fa-search-dollar: How do I access the Logged data?

Access to logged data for [Users][] is provided by the use of [Log Views][] with [Role][Roles]-based security.
___
  
## :fa-hand-point-right: Next Steps

:fa-rocket: [Install Nodinite Pickup Service][Install Pickup Service]  
:fa-file: [Configure Message Types][Message Types] - Make your Apache Camel data searchable and enable advanced features  

## :fa-link-horizontal: Related Topics

:fa-search: [Log Views][]  
:fa-arrow-to-right: [Asynchronous Logging][]  
:fa-file: [Message Types][] - Critical for Search Field extraction from Apache Camel events  
:fa-magnifying-glass-plus: [Search Fields][] - Extract business data from Apache Camel messages  
:fa-stopwatch: [Non-Events Monitoring][] - Track message volumes and patterns  
:fa-project-diagram: [BPM][] - End-to-end process tracking across Apache Camel and other systems  

[Asynchronous Logging]:{ndr}/Core%20Services/Log%20API/Features/Asynchronous%20Logging.md
[BPM]:{ndr}/Repository%20Model/BPMs/Overview.md
[Install Pickup Service]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/2.%20Install.md
[JSON Log Event]:{ndr}/Core%20Services/Log%20Event/Features/JSON%20Log%20Event.md
[Log Agents]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Agent.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Event Processing]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.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 Troubleshooting]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Troubleshooting/Overview.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
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md