- 4 minutes to read

Logging Best Practices Library

Nodinite has written a lot about logging well, spread over the pages where each topic lives. This library collects that further reading by the question you have, so you can read on from wherever you are.

  • ✅ Find the page that answers your question, one click away
  • ✅ Read the general advice first, then your platform's own
  • ✅ Hover a link on the docs site to preview the page

Understanding the Library

flowchart LR Design["fa:fa-pen-ruler Design the
Log Event"] --> Deliver["fa:fa-truck-pickup Deliver it"] Deliver --> Find["fa:fa-magnifying-glass Make it
findable"] Find --> Act["fa:fa-bell Act on errors"] Act --> Keep["fa:fa-database Keep it
affordable"] style Design fill:#9E59BB style Deliver fill:#3F827B style Find fill:#2678BD style Act fill:#E47528 style Keep fill:#93d16d

The sections follow a Log Event's life: design (purple), delivery (teal), search (blue), errors (orange), and retention and cost (green). The platform section at the end adds what is specific to each platform.

Design the Log Event

Question Read
What does a Log Event hold, and what happens after it arrives? Log Event, JSON Log Event
Why must every event have a Message Type? Why is OriginalMessageTypeName mandatory?, Always include Message Types
Can I change a Message Type after logging? Can I change Message Types after logging events?
How do I handle schema changes over time? How do I handle message schema changes?
Where in the process did the event happen? Event Directions, Endpoint Direction, Endpoint Types
How do I control processing per event? Context Options, Character Encoding
Can my events build the Repository Model and BPMs? Repository Binding, BPM Binding, How Log Events Become Repository Model Stories
Which framework for .NET, Java, or Python? Which appender framework should I use?
Can I log to Nodinite and to other tools at once? Can I log to multiple destinations?
What does a complete, real example look like? O2C Demo: Log Event Structure, Order-to-Cash demo

Deliver It Reliably

Question Read
Do I need intermediate storage? Do I need intermediate storage or can I call Log API directly?, Asynchronous Logging
Which storage works with the Pickup Service? What intermediate storage options work with Pickup Service?, Pickup Service
Does logging slow my integrations down? Does Custom Logging impact integration performance?
What if Nodinite is down? Service downtime reliability, Log Asynchronously and Survive Updates
An event failed delivery; how do I replay it? Move backout messages to the active source
Which firewall openings do I need? Custom Logging firewall settings, Pickup Service prerequisites

Make It Findable

Question Read
How do I follow one transaction across systems? How does ApplicationInterchangeId enable end-to-end correlation?, Correlate Transactions End to End
How does a BPM correlate events? How does BPM correlate events across different systems?
How do I make an Order Number searchable? How do I extract business data like Order Numbers?, Search Field Wizard, Add or manage Search Field
Can I search messages I logged before the Search Field existed? Re-indexing by Message Type, Log the Payload and Context
What does each processing state mean? Log View Search Fields and Processing State
How should a Log View group a transaction? Log View Grouping Tab, Design grouped Log Views for Runtime Inspection

Act on Status and Errors

Question Read
How do status codes work per platform? What is a Log Status Code?, Log Status and Errors
How do I log an exception so support can read it? View Exception Details, Generate Exception Log Events
How do I hear when messages stop coming? Non-Events, Know when orders stop coming in
What happens to a very large message? MessageProcessingMaxBodySize

Keep It Affordable

Question Read
What does logging cost, all in? Understand the Cost of Logging
How long do we keep what? Plan Volume and Retention, Retention per Message Type
How large will the Log Databases grow? Log Databases, Planning your Nodinite Solution
What does the Azure staging cost? Azure Costs for Blob Storage and Event Hub

Put It to Business Use

Question Read
Can business users build their own reports? Can business users create their own reports?, Use API in Excel with Power Query, Copy API, Print, and Export to CSV
How do business users read a message? Stylesheets, Open a Log Event and read its message
Who looked at a message? Log Audit Search
Where do business users start? Order flow, Working with Nodinite Log Views

Platform-Specific Advice

Platform Read
Microsoft BizTalk Server Recommendations for BizTalk Logging, Managing BizTalk Logging, BAM Replacement, Tracking
Azure Logic Apps About Logic Apps Logging options, Reduce Logic Apps run history retention
Azure Functions and .NET How to start logging with Serilog, Extending ILogger, Reduce Azure Functions Logging Costs
Azure API Management Azure API Management, Reduce Azure API Management Logging Costs
MuleSoft Custom Connector, Custom Connector: complete example
WCF WCF Diagnostics vs Custom Logging, Cost Comparison
Every platform Log from Your Integration Platform, Custom Logging - Common Questions

Next Steps