- 3 minutes to read

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

Understanding Asynchronous Logging

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

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 once it is fixed.

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? and Why asynchronous logging is recommended.

Updates Without Lost Events

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

Choose Your Intermediate 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
Azure Event Hub High-volume Azure and API Management logging Event Hub
Azure Blob Storage Large messages, low cost Blob container; see Azure Costs for Blob Storage and Event Hub
Folder On-premise solutions, the simplest start Folder
SQL Server or PostgreSQL Teams that already run a database for the integration SQL Server, PostgreSQL
AMQP, ActiveMQ, Anypoint MQ, MSMQ Existing message brokers AMQP, ActiveMQ, Anypoint MQ, MSMQ

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

Watch the Intermediate Storage

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, and the Log Views with Non-Events when the events stop. For a SQL Server table, see FAQ - SQL Server - Monitoring.

Next Steps