- 1 minutes to read

SeriLog, FAQ, Troubleshooting, Common Questions SeriLog, FAQ, troubleshooting, common questions Do I need to set OriginalMessageTypeName in every log call?

Do I need to set OriginalMessageTypeName in every log call?

Do I need to set OriginalMessageTypeName in every log call?

Yes—absolutely critical for business intelligence features. Without OriginalMessageTypeName context property: [Search Field Expressions][] cannot extract Order Numbers, Customer IDs, Invoice amounts from payloads, [Log Views][] can only search timestamps/correlation IDs (not business data), [Non-Events Monitoring][] cannot track message volumes by type, [BPM][] cannot correlate transactions. Include in every Serilog log call: .ForContext("OriginalMessageType", "OrderMessage#1.0"). Plan Message Types during development—use versioning (#1.0, #2.0) for schema changes.


See all FAQs: [Troubleshooting Overview][]