Log the Payload and Context
You don't know the truth until something goes wrong, and by then it's too late to start logging. The question that matters on the bad day ("which orders had this product?", "what did we actually send?") is rarely the one you planned for. When every Log Event carries the message body and its context, Nodinite can answer questions nobody asked at go-live.
- ✅ Keep the evidence: the exact message that was sent or received
- ✅ Add a new Search Field months later and find it in messages already logged
- ✅ Let support read, render, and resend messages without access to the platform
Understanding Re-indexing
with body and context"] --> New["fa:fa-plus New Search Field
Purchase Order Number"] New --> Reindex["fa:fa-rotate Re-index
per Message Type"] Reindex --> Found["fa:fa-magnifying-glass Every historical
order searchable"] style Logged fill:#3F827B style New fill:#2678BD style Reindex fill:#E47528 style Found fill:#93d16d
Events logged with body and context (teal) can be processed again: a new Search Field (blue) and a re-index of its Message Types (orange) make the new value searchable in every message still kept (green). Without a body, there is nothing to re-index.

Re-indexing is chosen per Message Type, so only the formats that changed are processed again. How it runs, and how to plan a large one, is in Add or manage Search Field.
What Each Part Gives You
| You log | Users can | Without it |
|---|---|---|
| Event details only | See that something happened, when, and with what status | ❌ No business search, no evidence |
| + Context | Search on the values you put there, such as an order number or a file name | ⚠️ Only the questions you thought of at go-live |
| + Body | Search on anything in the message, now or after a re-index; read it as a document with a Stylesheet; resend it | ✅ Nothing missing |
Context values are cheap to extract and great for the keys you know. The body is the truth. Log both.
Rules for Payload and Context
- ✅ Log the body at every hop where the message changes: received, transformed, sent
- ✅ Put the business keys in the context as well, such as the Order Id; see Correlate Transactions End to End
- ✅ Set a versioned Message Type on every event (
Orders.Received/1.0): Search Fields, re-index, retention, and statistics all work per Message Type - ✅ Use the encoding the message really has, or set it on the Message Type; see Character Encoding
- ⚠️ Very large bodies: the Logging Service skips extraction above MessageProcessingMaxBodySize (250 MB by default)
- ⚠️ Sensitive data: limit who can see them with Log Views per Role, keep them briefly with retention per Message Type, and know that opening a body is recorded in Log Audit Search
Frequently Asked Questions
Isn't logging every body expensive?
Storage is cheaper than an unsolved incident. Keep high-volume formats for a short time and audit-relevant ones for years: Nodinite sets retention per Message Type. See Plan Volume and Retention.
How do I extract an Order Number from a message I have already logged?
Add a Search Field with an expression for the message's Message Type, and re-index. See How do I extract business data like Order Numbers? and Re-Indexing by Message Type.