---
title: What is a Log Status Code? | Event Tracking and Monitoring in Nodinite
description: Learn how Log Status Codes in Nodinite provide meaningful event tracking, advanced search, and end-to-end monitoring for all your integrations. Map numeric codes to user-friendly states and streamline troubleshooting.
---

# What is the Log Status Code?  

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **Log Status Codes** provide meaningful, actionable event tracking for all your integrations. This page explains how Log Status Codes work, how to map numeric codes to user-friendly states, and how to leverage them for advanced search, grouping, and monitoring.  

* ✅ **Visual process tracking** - [BPM][] steps inherit colors from Log Status Codes for instant process health visibility  
* ✅ **Rapid troubleshooting** - [Search Field Links][] enable one-click navigation to related systems  
* ✅ **Clear state mapping** - Map numeric codes to user-friendly states (Success, Warning, Error)  
* ✅ **Advanced filtering** - Search, group, and filter events by Log Status Code in [Log Views][]  
* ✅ **End-to-end tracking** - Track status across all integration platforms and custom solutions  
* ✅ **Business intelligence** - Status codes power BPM milestone tracking and [Non-Events][] monitoring  

![Walkthrough: on the Log Agent Contoso Shipping Platform - Test, change the Log Status Code 500 from Error to Warning with a new description and save; the card shows an orange flag (7.12)][5]  
*Mapping a code: 500 becomes a **Warning** with a business-friendly text. See [Add or manage Log Status Codes][Manage-LogStatusCodes].*  

---

## <i class="fal fa-flag" aria-hidden="true"></i> Understanding Log Status Codes

Logged Events can have a **Log Status Code** set to represent the state of the [Log Event][]. The Events are logged from any of the [Log Agents][].  

You can view and manage all Log Agents and their Status Codes in the [Log Agents Overview][Log Agents - Overview]. To configure Status Codes for a specific Log Agent, see [Add or manage Log Status Codes][Manage-LogStatusCodes].

The **Log Status Code** is a crucial element in logging and monitoring. It represents the state of the event and is set for all logged events from any <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Agents][] and custom coded solutions. Your understanding and management of these codes are key to efficient operations.  

Since the **Log Status Code** is a number, it may be hard for end-users to understand its semantics. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> lets you map these codes into meaningful textual representations, making it easy for users to interpret the status of logged events.  

<div class="mermaid">
graph LR
    subgraph "fa:fa-bolt Log Events"
        A["fa:fa-code-commit Logging Agent 1"] -->|"unique collection"| B("fa:fa-flag Log Status Codes<br/>0 = Success")
        C["fa:fa-code-commit Logging Agent 2"] -->|"unique collection"| D("fa:fa-flag Log Status Codes<br/>0 = Error")
    end
    style A fill:#2678BD,color:#fff
    style C fill:#2678BD,color:#fff
    style B fill:#E47528,color:#fff
    style D fill:#E47528,color:#fff
</div>

*Diagram: Each Logging Agent (blue) has its own collection of Log Status Codes (orange), so the same number can mean different things for different [Log Agents][].*  
  
To further emphasize the meaning behind the **Log Status Code**, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> is configured with a **Status Type**. The following image shows the different options available:  
![Status Type dropdown with None, Information, Success, Warning, and Error, each with its Id 0 to 4 (7.12)][1]  
*The five Status Types a Log Status Code can map to, with their Ids 0 (None) to 4 (Error).*  

A user may **search**, **Group**, and **filter** according to selected **Log Status Codes**:  
![Log View search criteria with Log Status Code Not In 0][2]  
*Example [Log View][Log Views] where the [User][Users] searched by Log Status Code.*  

[Log Events][Log Event] matching the **Log Status Code** are displayed in [Log Views][] coloured accordingly.  

### Examples

* 0 from the [BizTalk Log Agent][] can mean 'Message successfully transmitted' - **Ok**  
* 76 from custom Log Agent can mean 'Invoice successfully created' - **Ok**  
* 401 from a custom Web Api can mean 'Bad Request' - **Error**  
* -16 from a custom [Log4Net Appender][] Log Agent can mean 'Missing due date' - **Warning**  

<h2 id="status-type-values">Status Type Values</h2>

A **Log Status Code** has one of the following states:

||State|Description|  
|:---:|---|---|  
|<i class="fal fa-flag" aria-hidden="true"></i>|None|Not set or unknown|  
|<i class="fal fa-flag" aria-hidden="true"></i>|Information|Informational event|  
|<i class="fal fa-flag" aria-hidden="true"></i>|Success|Message was successfully processed|  
|<i class="fal fa-flag" aria-hidden="true"></i>|Warning|Unexpected but not invalid state|  
|<i class="fal fa-flag" aria-hidden="true"></i>|Error|Error/fatal condition|  

The **Log Status Codes** are unique for each [Log Agent][Log Agents]. When [configuring Status Codes][Manage-LogStatusCodes], you map numeric codes to these predefined status types.

### Automatic creation from incoming events

The [Logging Service][] creates or updates a Log Status Code only when the [Log Event][] carries these Context properties:

| Context property | Required | Becomes |
| --- | --- | --- |
| `ExtendedProperties/1.0#LogLevel` | Yes | The **Status Type**, by name: `None`, `Information`, `Success`, `Warning`, or `Error` (case-insensitive) |
| `ExtendedProperties/1.0#EventDescription` | No | The **Description**; when it's missing, the Description is set to empty |
| `ExtendedProperties/1.0#LogStatus` | No | The code; without it, the event's **LogStatus** is used |

An event without `LogLevel` creates nothing; its code then shows only as a number.

![Walkthrough: a Log Event posted to the Log API with LogStatus 409, LogLevel Warning, and EventDescription Shipment already booked adds the code 409 = Warning to the Log Agent within seconds (7.12)][4]  
*The event's Context sets the code: 409 = **Warning**, *Shipment already booked*, appears on the Log Agent within seconds.*  

The [LogStatusCodeAutoSyncPolicy][] [System Parameter][System Parameters] (<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 7.5.24 and later) decides what happens, globally or per [Message Type][Message Types] (keys may use `*` wildcards). The default is `{"default":"Upsert","messageTypes":{}}`.

| Policy | Missing code | Existing code |
| --- | --- | --- |
| `Upsert` (default) | Created | **Overwritten**: the event's Status Type and Description replace yours, and a disabled code is enabled again |
| `CreateMissingOnly` | Created | Never changed; a conflict writes a Warning to the [Log Audits][] ("Ignored LogStatusCode auto-sync …") |
| `Disabled` | Not created | Never changed |

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p>With <code>Upsert</code>, an edit you make in <a href="https://docs.nodinite.com/administration/log-management/log-agents/features/add-or-manage-log-agent/#add-or-manage-log-status-codes">Add or manage Log Status Codes</a> lasts only until the next event that carries a <code>LogLevel</code> for that code. Set <code>CreateMissingOnly</code> when administrators maintain the texts by hand.</p></div>
</aside>

## <i class="fal fa-project-diagram" aria-hidden="true"></i> Visual Process Tracking with BPM

Log Status Codes power visual process health in Business Process Models (BPM). When you use [Business Process Modeling (BPM)][BPM] to track end-to-end business processes, each step in your BPM inherits its color from the Log Status Code of the most recent event:

* **Success (Green)** - Step completed successfully  
* **Warning (Yellow)** - Step completed with warnings or unexpected conditions  
* **Error (Red)** - Step failed or encountered a fatal condition  
* **Information (Blue)** - Informational events or in-progress steps  
* **None (Gray)** - No events logged yet for this step  

This visual status inheritance provides **instant process health visibility** across your entire integration landscape. Business users and operations teams can see at a glance:

* Which business processes are running smoothly (green)  
* Which require attention (yellow)  
* Which have failed and need immediate action (red)  

![BPM Viewer with every step of one Order-to-Cash order colored by its Log Status Code, here all successful (7.12)][3]  
*Example: BPM process view showing steps colored by Log Status Code state—enabling instant health assessment. In this order every step succeeded; a failed step would show red.*  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>When designing BPM processes, ensure your logging agents and custom code set meaningful Log Status Codes at each milestone. This enables automatic, real-time visual process tracking without additional configuration.</p></div>
</aside>

### <i class="fal fa-link" aria-hidden="true"></i> Rapid Troubleshooting with Search Field Links

Navigate instantly from errors to related systems using Search Field Links. When a Log Event has an Error or Warning status code, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> enables rapid troubleshooting through [Search Field Links][]. These links allow you to:

1. **Click directly from an error event** in a [Log View][Log Views] or [BPM][]  
2. **Navigate to related events** in other systems using shared business identifiers (Order IDs, Invoice Numbers, Customer IDs)  
3. **Trace transactions end-to-end** across your integration landscape  

#### Example troubleshooting workflow

1. BPM shows a red (Error) status in the "Payment Processing" step  
2. User clicks on the error event to view details  
3. User clicks a Search Field Link on the "OrderId" field  
4. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> instantly displays all related events across all systems (ERP, CRM, payment gateway) with the same OrderId  
5. User identifies the root cause (invalid credit card) and takes corrective action  

This eliminates hours of manual log correlation and system navigation.

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>Search Field Links require properly configured Search Fields</strong></p><p>To enable rapid troubleshooting with Search Field Links:</p><ol>
<li><a href="https://docs.nodinite.com/repository-model/message-types/overview/">Message Types</a> - Define business transaction types for all systems</li>
<li><a href="https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/">Search Field Expressions</a> - Configure extraction of business identifiers (Order IDs, Customer IDs, etc.)</li>
<li><a href="https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/">Search Fields</a> - Create Search Fields with Links enabled</li>
<li><strong>Log Status Codes</strong> - Set meaningful status codes at each integration point</li>
</ol><p>With this foundation, users can navigate from any error directly to correlated events across your entire integration landscape—regardless of platform or technology.</p></div>
</aside>

You must be part of the [Administrators][Roles] role to configure Log Status Codes, in the [Log Agents Overview][Log Agents - Overview].

---

## Serilog  

The **Log Status Code** in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> can be automatically set when logging using the [Serilog][] framework by providing an **EventId** (`new EventId(1337, "SomeLog")`). If you do not provide the **EventId**, the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Log Status Code on the [Log Event][] is **None**.  

||State|Mapped log level in Microsoft.Extensions.Logging <sup><span class="nodinite-new-badge">New 7.x</span></sup>|  
|---|---|---|  
|<i class="fal fa-flag" aria-hidden="true"></i>|None|`_logger.LogTrace("Foo {message}", "Bar");`<br/>`_logger.LogDebug("Foo {message}", "Bar");`<br/>`_logger.LogInformation("Foo {message}", "Bar");`<br/>`_logger.LogWarning("Foo {message}", "Bar");`<br/>`_logger.LogError("Foo {message}", "Bar");`<br/>`_logger.LogCritical("Foo {message}", "Bar");`<br/>**The code to inject an EventID is not provided**|  
|<i class="fal fa-flag" aria-hidden="true"></i>|Information|`_logger.LogTrace(new EventId(1337, "SomeLog"), "Foo {message}", "Bar");`<br/>`_logger.LogDebug(new EventId(1337, "SomeLog"), "Foo {message}", "Bar");`|  
|<i class="fal fa-flag" aria-hidden="true"></i>|Success|`_logger.LogInformation(new EventId(1337, "SomeLog"), "Foo {message}", "Bar");`|  
|<i class="fal fa-flag" aria-hidden="true"></i>|Warning|`_logger.LogWarning(new EventId(1337, "SomeLog"), "Foo {message}", "Bar");`|  
|<i class="fal fa-flag" aria-hidden="true"></i>|Error|`_logger.LogError(new EventId(1337, "SomeLog"), "Foo {message}", "Bar");`<br/>`_logger.LogCritical(new EventId(1337, "SomeLog"), "Foo {message}", "Bar");`|  

If you log using the following code snippet:  

```c#  
_logger.LogError("Foo {message} {LogStatusCode}", "Bar", 1337);  
```  

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Event][] will have a Log Status Code set to `1337` with the **Information** state.  

---

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

Complete your Log Status Code configuration to enable visual tracking and rapid troubleshooting:

1. <i class="fal fa-square-plus" aria-hidden="true"></i> <i class="fal fa-flag" aria-hidden="true"></i> [Add or manage Log Status Code][] - Map numeric codes to meaningful states
2. <i class="fal fa-tags" aria-hidden="true"></i> [Message Types][] - Define business transaction types (prerequisite for Search Fields)
3. <i class="fal fa-search-dollar" aria-hidden="true"></i> [Search Field Expressions][] - Configure extraction of business identifiers
4. <i class="fal fa-magnifying-glass" aria-hidden="true"></i> [Search Fields][] - Create Search Fields with Links enabled for rapid navigation
5. <i class="fal fa-project-diagram" aria-hidden="true"></i> [BPM][] - Design Business Process Models that inherit status colors
6. <i class="fal fa-hard-drive" aria-hidden="true"></i> [Add or manage Log View][] - Create Log Views for searching and filtering by status

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-flag" aria-hidden="true"></i> [Log Status and Errors][]  
* <i class="fal fa-project-diagram" aria-hidden="true"></i> [BPM][] - Business Process Models inherit colors from Log Status Codes  
* <i class="fal fa-search" aria-hidden="true"></i> [Log Views][] - Search, filter, and group events by Log Status Code  
* <i class="fal fa-magnifying-glass" aria-hidden="true"></i> [Working with Log Views][Log Overview] - How users search and read event status  
* <i class="fal fa-palette" aria-hidden="true"></i> [Stylesheets][] - Transform technical data into user-friendly formats  
* <i class="fal fa-link" aria-hidden="true"></i> [Search Field Links][] - Navigate instantly from errors to related systems  
* <i class="fal fa-magnifying-glass" aria-hidden="true"></i> [Search Fields][] - Business data extraction for correlation  
* <i class="fal fa-search-dollar" aria-hidden="true"></i> [Search Field Expressions][] - Configure extraction expressions  
* <i class="fal fa-tags" aria-hidden="true"></i> [Message Types][] (Mandatory) - Foundation for Search Field extraction  
* <i class="fal fa-box-archive" aria-hidden="true"></i> [Log Agents][] - Understand logging agents and their status codes  
* <i class="fal fa-list" aria-hidden="true"></i> [Log Agents Overview][Log Agents - Overview] - Manage Log Agents and their status codes  
* <i class="fal fa-sliders" aria-hidden="true"></i> [LogStatusCodeAutoSyncPolicy][] - Control whether incoming events may create or overwrite Log Status Code definitions  
* <i class="fal fa-bolt" aria-hidden="true"></i> [Log Event][] - Structure of logged events  
* <i class="fal fa-code" aria-hidden="true"></i> [JSON Log Event][] - JSON format for custom logging  
* <i class="fal fa-users-class" aria-hidden="true"></i> [Roles][] - Role-based access management  
* <i class="fal fa-user-secret" aria-hidden="true"></i> [Access Management][] - Security and permissions overview  
* <i class="fal fa-globe" aria-hidden="true"></i> [HTTP Status Codes][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> - Industry-standard HTTP status codes  
* <i class="fal fa-archive" aria-hidden="true"></i> [Log4Net Appender][] and [Serilog][] - .NET logging integration  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/StatusTypeEntries.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/SearchLogStatusCodes.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/LogViewExample.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/LogAgents/LogStatusCode_AutoCreated.gif
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Log/LogAgents/LogAgents_EditStatusCode.gif

[Access Management]:https://docs.nodinite.com/administration/access-management/overview/
[Add or manage Log Status Code]:https://docs.nodinite.com/administration/log-management/log-agents/features/add-or-manage-log-agent/#add-or-manage-log-status-codes
[Add or manage Log View]:https://docs.nodinite.com/administration/log-management/log-views/features/add-or-manage-log-view/
[BizTalk Log Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/overview/
[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[HTTP Status Codes]:https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
[JSON Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log Agents - Overview]:https://docs.nodinite.com/administration/log-management/log-agents/overview/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Overview]:https://docs.nodinite.com/getting-started/log/overview/
[Log Status and Errors]:https://docs.nodinite.com/getting-started/log/logging-strategy/log-status-and-errors/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Log4Net Appender]:https://docs.nodinite.com/logging-and-monitoring/log4net-appender/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[LogStatusCodeAutoSyncPolicy]:https://docs.nodinite.com/administration/settings/system-parameters/logstatuscodeautosyncpolicy/
[Manage-LogStatusCodes]:https://docs.nodinite.com/administration/log-management/log-agents/features/add-or-manage-log-agent/#add-or-manage-log-status-codes
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Non-Events]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Search Field Expressions]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/
[Search Field Links]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/#fa-arrow-up-right-from-square-jump-to-external-systems-with-search-field-links
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Serilog]:https://docs.nodinite.com/logging-and-monitoring/serilog/overview/
[Stylesheets]:https://docs.nodinite.com/administration/customize/stylesheets/features/what-is-a-stylesheet/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/