---
title: Log Asynchronously with Intermediate Storage and the Pickup Service
description: "Why your integrations should log to a queue, folder, or table and let the Nodinite Pickup Service deliver the Log Events: no lost events while Nodinite is updated or restarted, no retry code, no load spikes on the Log API, and which intermediate storage to choose."
---

# <i class="fal fa-truck-pickup" aria-hidden="true"></i> Log Asynchronously and Survive Updates

Your integrations should never wait for <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, and <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> should never lose an event because it was being updated. Asynchronous logging gives you both: the integration writes the [Log Event][] to intermediate storage and moves on, and the [Pickup Service][] delivers it to the [Log API][] when <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> is ready.

* ✅ Update, restart, or move <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> whenever you like, without losing events  
* ✅ No retry logic in your integrations, and no load spikes on the [Log API][]  
* ✅ Pick the intermediate storage you already run: a queue, a folder, a table, or Azure storage  

![An order delivered after a Nodinite update is listed at the time it was placed, animated walkthrough (7.13)][1]  
*Animated walkthrough: the web shop wrote an order while the [Log API][] was down for an update. After the update, the [Log View][Log Views] lists it at the time it happened.*  

1. A [Log View][Log Views], such as **Contoso: Orders**, shows today's orders.
2. During the update, the web shop keeps writing its orders to the intermediate storage.
3. After the update, search on the order, such as **ORD-UPD-120908-1** in **O2C - Order ID**. It was delivered just now, and it is listed at the time the web shop placed it.
4. Open the **Action** menu and **View details**: the **Log Date Time** is when the order happened, not when it reached <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

<h2 id="understanding"><i class="fal fa-network-wired" aria-hidden="true"></i> Understanding Asynchronous Logging</h2>

<div class="mermaid">
flowchart LR
    Int["fa:fa-gears Your integration"] -->|"write, milliseconds"| Store["fa:fa-inbox Intermediate storage"]
    Store -->|"fetch when ready"| Pickup["fa:fa-truck-pickup Pickup Service"]
    Pickup --> LogAPI["fa:fa-cloud-arrow-down Log API"]
    Pickup -.->|"invalid event"| Backout["fa:fa-box-archive Backout"]
    style Int fill:#9E59BB
    style Store fill:#E47528
    style Pickup fill:#3F827B
    style LogAPI fill:#93d16d
    style Backout fill:#c33d34
</div>

*Your integration (purple) writes and continues. The intermediate storage (orange) holds the events for as long as needed. The [Pickup Service][] (teal) fetches them at its own pace and posts them to the [Log API][] (green); an event that can't be delivered goes to a backout location (red) instead of being lost, and you can [move it back][Move from backout] once it is fixed.*

### <i class="fal fa-code-compare" aria-hidden="true"></i> Asynchronous vs Synchronous Logging

| | Asynchronous (intermediate storage) | Synchronous (direct to the Log API) |
| --- | --- | --- |
| <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> being updated or restarted | ✅ Events wait in storage | ❌ Your code must retry, or the events are lost |
| Effect on your integration | ✅ A local write | ⚠️ A network call on every event |
| Load on the [Log API][] | ✅ Controlled by the [Pickup Service][] | ⚠️ Every spike reaches it |
| Retry and error handling | ✅ Built in, with backout | ❌ Yours to write |
| Good for | Production integrations | Tests, demos, and low-volume tools; see [Log using REST][] |

The full reasoning is in [Do I need intermediate storage?][Intermediate Storage] and [Why asynchronous logging is recommended][Log Event - Delivery].

<h2 id="updates"><i class="fal fa-arrows-rotate" aria-hidden="true"></i> Updates Without Lost Events</h2>

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> ships updates often, and you should install them. With asynchronous logging, an update is a non-event for your integrations:

1. Install the update; the [Log API][] is unavailable for a while.  
2. Your integrations keep writing to the intermediate storage, as always.  
3. When the [Log API][] is back, the [Pickup Service][] works through the backlog.  
4. The events keep their original `LogDateTime`, so the [Log Views][] show them at the time they happened (the **Log Date Time** on the event), not at the time they reached <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.  

The same holds the other way: change, redeploy, or move an integration without telling <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. The two sides only share the [JSON Log Event][] format, so the [schema of your own messages can change over time][Schema Changes] too.

<h2 id="choose-storage"><i class="fal fa-inbox" aria-hidden="true"></i> Choose Your Intermediate Storage</h2>

Use the storage your platform team already runs and monitors.

| Storage | Typical fit | Configure |
| --- | --- | --- |
| Service Bus queue in Azure | Azure integrations that need ordered, durable delivery | [Service Bus queue][Pickup ServiceBusQueue] |
| Azure Event Hub | High-volume Azure and API Management logging | [Event Hub][Pickup EventHub] |
| Azure Blob Storage | Large messages, low cost | [Blob container][Pickup BlobContainer]; see [Azure Costs for Blob Storage and Event Hub][] |
| Folder | On-premise solutions, the simplest start | [Folder][Pickup Folder] |
| SQL Server or PostgreSQL | Teams that already run a database for the integration | [SQL Server][Pickup SQLServer], [PostgreSQL][Pickup PostgreSQL] |
| AMQP, ActiveMQ, Anypoint MQ, MSMQ | Existing message brokers | [AMQP][Pickup AMQP], [ActiveMQ][Pickup ActiveMQ], [Anypoint MQ][Pickup AnypointMQ], [MSMQ][Pickup MSMQ] |

[What intermediate storage options work with the Pickup Service?][Storage Options] compares them, and [Multiple Destinations][] explains how to log to more than one place.

<h2 id="watch"><i class="fal fa-heart-pulse" aria-hidden="true"></i> Watch the Intermediate Storage</h2>

A queue that only grows means events are not reaching <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. Monitor it like any other resource: the [Pickup Service][] itself, the queue or folder with the matching [Monitoring Agent][Monitoring Agents], and the [Log Views][] with [Non-Events][] when the events stop. For a SQL Server table, see [FAQ - SQL Server - Monitoring][Pickup SQL Monitoring].

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

* <i class="fal fa-link" aria-hidden="true"></i> [Correlate Transactions End to End][]  
* <i class="fal fa-compass" aria-hidden="true"></i> [Plan Your Logging with Nodinite][Logging Strategy]  

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

* <i class="fal fa-truck-pickup" aria-hidden="true"></i> [Pickup Service][]  
* <i class="fal fa-cloud-arrow-down" aria-hidden="true"></i> [Asynchronous Logging][]  
* <i class="fal fa-inbox" aria-hidden="true"></i> [Intermediate Storage][]  
* <i class="fal fa-gauge" aria-hidden="true"></i> [FAQ - Performance Impact][]  
* <i class="fal fa-cloud" aria-hidden="true"></i> [FAQ: Service Downtime Reliability][Serilog Downtime]  
* <i class="fal fa-plug" aria-hidden="true"></i> [Log from Your Integration Platform][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Log/LogEvent_SurviveUpdates.gif

[Asynchronous Logging]:https://docs.nodinite.com/core-services/log-api/features/asynchronous-logging/
[Azure Costs for Blob Storage and Event Hub]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/azure-costs-for-blob-storage-and-event-hub/
[Correlate Transactions End to End]:https://docs.nodinite.com/getting-started/log/logging-strategy/correlate-transactions-end-to-end/
[FAQ - Performance Impact]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/performance-impact/
[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 Event - Delivery]:https://docs.nodinite.com/core-services/log-event/overview/#delivery
[Log from Your Integration Platform]:https://docs.nodinite.com/getting-started/log/logging-strategy/log-from-your-integration-platform/
[Log using REST]:https://docs.nodinite.com/core-services/log-api/features/log-using-rest/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Logging Strategy]:https://docs.nodinite.com/getting-started/log/logging-strategy/overview/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Move from backout]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/troubleshooting/how-to-move-messages-from-backout-to-source/
[Multiple Destinations]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/multiple-destinations/
[Non-Events]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[Pickup ActiveMQ]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/activemq/
[Pickup AMQP]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/amqp/
[Pickup AnypointMQ]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/anypointmq/
[Pickup BlobContainer]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/blobcontainer/
[Pickup EventHub]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/eventhub/
[Pickup Folder]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/folder/
[Pickup MSMQ]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/msmq/
[Pickup PostgreSQL]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/postgresql/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Pickup ServiceBusQueue]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/servicebusqueue/
[Pickup SQL Monitoring]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/troubleshooting/faq-sql-server-monitoring/
[Pickup SQLServer]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/features/configurations/sqlserver/
[Schema Changes]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/schema-changes/
[Serilog Downtime]:https://docs.nodinite.com/logging-and-monitoring/serilog/troubleshooting/faq-service-downtime-reliability/
[Storage Options]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/storage-options/