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

# :fa-truck-pickup: Log Asynchronously and Survive Updates

Your integrations should never wait for :Nodinite:, and :Nodinite: 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 :Nodinite: is ready.

* ✅ Update, restart, or move :Nodinite: 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 :Nodinite:.

## :fa-network-wired: Understanding Asynchronous Logging {#understanding}

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

### :fa-code-compare: Asynchronous vs Synchronous Logging

| | Asynchronous (intermediate storage) | Synchronous (direct to the Log API) |
| --- | --- | --- |
| :Nodinite: 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].

## :fa-arrows-rotate: Updates Without Lost Events {#updates}

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

The same holds the other way: change, redeploy, or move an integration without telling :Nodinite:. The two sides only share the [JSON Log Event][] format, so the [schema of your own messages can change over time][Schema Changes] too.

## :fa-inbox: Choose Your Intermediate Storage {#choose-storage}

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.

## :fa-heart-pulse: Watch the Intermediate Storage {#watch}

A queue that only grows means events are not reaching :Nodinite:. 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].

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

* :fa-link: [Correlate Transactions End to End][]  
* :fa-compass: [Plan Your Logging with Nodinite][Logging Strategy]  

## :fa-link-horizontal: Related Topics

* :fa-truck-pickup: [Pickup Service][]  
* :fa-cloud-arrow-down: [Asynchronous Logging][]  
* :fa-inbox: [Intermediate Storage][]  
* :fa-gauge: [FAQ - Performance Impact][]  
* :fa-cloud: [FAQ: Service Downtime Reliability][Serilog Downtime]  
* :fa-plug: [Log from Your Integration Platform][]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Log/LogEvent_SurviveUpdates.gif

[Asynchronous Logging]:{ndr}/Core%20Services/Log%20API/Features/Asynchronous%20Logging.md
[Azure Costs for Blob Storage and Event Hub]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Azure%20Costs%20for%20Blob%20Storage%20and%20Event%20Hub.md
[Correlate Transactions End to End]:{ndr}/Getting%20Started/2.%20Log/Logging%20Strategy/Correlate%20Transactions%20End%20to%20End.md
[FAQ - Performance Impact]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Performance%20Impact.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 Event - Delivery]:{ndr}/Core%20Services/Log%20Event/Overview.md#delivery
[Log from Your Integration Platform]:{ndr}/Getting%20Started/2.%20Log/Logging%20Strategy/Log%20from%20Your%20Integration%20Platform.md
[Log using REST]:{ndr}/Core%20Services/Log%20API/Features/Log%20using%20REST.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Logging Strategy]:{ndr}/Getting%20Started/2.%20Log/Logging%20Strategy/Overview.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[Move from backout]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Troubleshooting/How%20to%20move%20messages%20from%20backout%20to%20source.md
[Multiple Destinations]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Multiple%20Destinations.md
[Non-Events]:{ndr}/Logging%20and%20Monitoring/Non-Events/Overview.md
[Pickup ActiveMQ]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/ActiveMQ.md
[Pickup AMQP]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/AMQP.md
[Pickup AnypointMQ]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/AnypointMQ.md
[Pickup BlobContainer]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/BlobContainer.md
[Pickup EventHub]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/EventHub.md
[Pickup Folder]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/Folder.md
[Pickup MSMQ]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/MSMQ.md
[Pickup PostgreSQL]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/PostgreSQL.md
[Pickup Service]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Overview.md
[Pickup ServiceBusQueue]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/ServiceBusQueue.md
[Pickup SQL Monitoring]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/Troubleshooting/FAQ%20-%20SQL%20Server%20-%20Monitoring.md
[Pickup SQLServer]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Features/Configurations/SQLServer.md
[Schema Changes]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Schema%20Changes.md
[Serilog Downtime]:{ndr}/Logging%20and%20Monitoring/Serilog/Troubleshooting/FAQ%20-%20Service%20Downtime%20Reliability.md
[Storage Options]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Storage%20Options.md