---
title: Manage Microsoft BizTalk Server Logging with Nodinite – Centralized, Easy, and Powerful
description: Enable, configure, and optimize Microsoft BizTalk Server logging with Nodinite. Centralize logging across all BizTalk environments, replace BAM, and empower your team with robust monitoring, easy configuration, and seamless integration.
---

# <i class="fal fa-edit" aria-hidden="true"></i> Configure Microsoft BizTalk Server Logging Agent

Unlock centralized, future-proof logging for all your BizTalk Server environments with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Logging Agent. On this page, you will:

* ✅ Seamlessly replace [BAM][BAM Replacement] and modernize your logging strategy  
* ✅ Enable and manage logging across multiple BizTalk Server groups and versions  
* ✅ Configure, optimize, and remove logging with just a few clicks  
* ✅ Empower your team with robust monitoring and self-service configuration  

You can add or remove logging for any BizTalk Server environment, whether you run legacy or new BizTalk instances. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> lets you centralize, configure, and optimize logging for robust monitoring and seamless integration.

## <i class="fal fa-square-plus" aria-hidden="true"></i> Prerequisites

Before you configure the *Microsoft BizTalk Server Logging Agent*, make sure you meet all BizTalk logging [Prerequisites][BizTalkPreReqs].

<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>BizTalk tracking must be enabled for logging to work.</strong> The Logging Agent copies tracked events from BizTalkDTADb—if tracking is not enabled on BizTalk ports/orchestrations, no events will be logged.</p><p><i class="fal fa-envelope-open" aria-hidden="true"></i> <strong>Enable tracking easily:</strong> Use Nodinite's <a href="https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/tracking/overview/">Tracking Management</a> feature (part of <a href="https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/overview/">BizTalk Monitoring Agent</a>) to bulk review and update tracking settings for all ports and orchestrations from one screen—no need to log into BizTalk nodes or Admin Console.</p></div>
</aside>

## <i class="fal fa-gears" aria-hidden="true"></i> Configuration

Follow these steps to manage logging from one or more BizTalk Server Groups.  

First, select the environment you want to manage using the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Update tool][Install and Update - Overview]:  
![Manage BizTalk Log Agents][0]  
*Example: The Manage BizTalk [Log Agents][Add or manage Log Agents] button in Nodinite's Update tool.*  

Click the **Add Log Agent Configuration** button to add a new *Microsoft BizTalk Server Logging Agent*.  
![Add BizTalk Log Agent Button][1]  
*Screenshot: Add a new [BizTalk Log Agent][] configuration.*  

### Log Agent Configuration

1. **Name** – Assign a user-friendly name to the Log Agent.  
   <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>Include the name and version of the target environment, for example, <code>BizTalk 2016 PROD</code>.</p></div>
   </aside>
2. **Log Agent Value Id** – Set a unique ID for this Log Agent Configuration. This value should never change once set!  
3. **Description** – Add a user-friendly description for this Log Agent Configuration.  
4. **Log Agent - BizTalk settings** – Check this option to mark the Log Agent as a BizTalk on-premise Log Agent Configuration.  

![Log Agent Source Part #1][2]  
*Screenshot: Log Agent source configuration part 1.*  

### <i class="fal fa-database" aria-hidden="true"></i> BizTalk Databases

1. **BizTalkMgmtDb Server** – Enter the SQL instance name hosting the BizTalk management database (linked server info from <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> SQL instance to BizTalk SQL Instance).  
2. **BizTalkMgmtDb Name** – Enter the BizTalk management database name.  
3. **BizTalkDTADb Server** – Enter the SQL instance name hosting the BizTalk tracking database (linked server info from <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> SQL instance to BizTalk SQL Instance).  
4. **BizTalkDTADb Name** – Enter the BizTalk tracking database name.  

![Log Agent Source Part #2][3]  
*Screenshot: Log Agent source configuration part 2.*  

### <i class="fal fa-box-archive" aria-hidden="true"></i> Tracking

1. **Polling Interval** – Set the polling interval for the [Logging Service][]. This is the time between attempts to fetch new logged data. Default: 30 seconds.  
2. **Max number of Events to copy** – Set the maximum number of events to fetch per run. Large numbers may impact performance. Default: 5000.  
3. **Max number of Message/Context data rows to copy** – Set the maximum number of payloads and context rows to fetch per run. Default: 500.  

![Log Agent Source Part #3][4]  
*Screenshot: Log Agent source configuration part 3.*  

### <i class="fal fa-sign-in" aria-hidden="true"></i> EndPoints

If you enable this option, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> synchronizes all ports in BizTalk as [Endpoints][] within the [Repository Model][].  
**Sync Endpoints Polling Interval** – Set the poll period (in seconds) between synchronization attempts.  
**Include Endpoints Tracking status** – Check this option if you use Microsoft BizTalk Server.  

![Log Agent Source Part #4][5]  
*Screenshot: Log Agent source configuration part 4.*  

### <i class="fal fa-trash-can" aria-hidden="true"></i> Remove

Remove the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> BizTalk Server Log Agent configuration by clicking the **Remove [BizTalk Logging][]** button.  

### <i class="fal fa-save" aria-hidden="true"></i> Save

Click the **Save** button to save your configuration changes.  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> &lt; 7.0 – You must <strong>restart</strong> the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/core-services/logging-service/overview/">Logging Service</a> after making changes.<br>
<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> &gt;= 7.0 – Allow a few minutes for the initial synchronization with BizTalk Server to complete, then <a href="https://docs.nodinite.com/logging/">Logging</a> becomes operational.</p></div>
</aside>

---

<h2 id="how-tracked-data-is-copied"><i class="fal fa-clock-rotate-left" aria-hidden="true"></i> How Tracked Data Is Copied</h2>

On every **Polling Interval** (default 30 seconds), the [Logging Service][] copies tracked data from BizTalkDTADb. It keeps a watermark: the newest BizTalk insertion time it has already copied. Each run copies what BizTalk inserted after the watermark.

### Large Message Bodies

A message body larger than the [MessageProcessingMaxBodySize][] [System Parameter][System Parameters] is not copied. The [Log Event][Log Events] and its context are copied, and the event gets the processing state **Completed with warnings**, a [Comment][Comments], and a Warning entry in the [Log Audit][Log Audit Search]. Raising the limit later does not copy the body. See [MessageProcessingMaxBodySize – BizTalk Server][MessageProcessingMaxBodySize - BizTalk].

<h3 id="late-tracked-data">Late Tracked Data</h3>

When the BizTalk SQL Server is behind on I/O, BizTalk sometimes writes older messages to BizTalkDTADb after newer ones, so the watermark passes them. A separate retry run, every 10 minutes, recovers this late data:

* The retry looks for Log Events from the last 120 hours that have neither a body nor a context in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, and whose Log Event time is older than the watermark minus a 30-minute grace period.
* A Log Event whose context was copied but whose body was over the [MessageProcessingMaxBodySize][] limit is not late data, and the retry leaves it alone.
* Some Log Events have no tracked data in BizTalk at all, for example when body tracking is disabled on the port or the tracking database has been purged. The retry pages past them, in pages of **Max number of Message/Context data rows to copy** (default 500). After 1000 such pages it stops and continues in the next retry run.
* One retry run copies for at most 5 minutes per Log Agent; the rest is copied in the next retry run.
* A message whose BizTalk fragments are incomplete is skipped and reported per message.

Find these Log Audit entries with [Log Audit Search][]:

| Level | Log Audit text | Meaning |
| --- | --- | --- |
| Information | `Stopped after 1000 pages of Log Events of Log Agent '…' (Id N) without any context/body row in BizTalk tracking database, the remaining Log Events are checked in the next retry run. {"Type":"LogAgent","LogAgentValueId":N}` | Many Log Events have no tracked data in BizTalk; the retry continues next run. |
| Information | `N Log Event(s) have no context/body row in BizTalk tracking database yet and were paged past` | Listed in the retry run's trail. |
| Warning | `Log_DTARetryGetTrackedData: WARNING - More than 300 seconds spent copying late tracked data, the rest is copied in the next retry run` | A large amount of late data; the retry continues next run. |
| Error | `Nodinite Logging Service: Error: Log Agent '…' (Id N) can not copy data for MessageUUID '…', data parts are missing in BizTalk tracking database, expected N but only got M.` | The fragments of this message are incomplete in BizTalkDTADb. |

*Log Audit entries written by the late tracked data retry.*

---

## <i class="fal fa-envelope-open" aria-hidden="true"></i> Enabling BizTalk Tracking for Logging

**Before Nodinite can log BizTalk messages, tracking must be enabled on BizTalk ports and orchestrations.** The Logging Agent copies events from BizTalkDTADb—if tracking is disabled, there are no events to copy.

### Manual Tracking Configuration (BizTalk Admin Console)

Traditional approach to enable tracking:

1. Open **BizTalk Server Administration Console** on any BizTalk server
2. Navigate to **Applications** → [Application Name] → Receive Ports / [Send Ports][] / [Orchestrations][]
3. Right-click a port/orchestration → **Properties** → **Tracking** tab
4. Enable tracking options:
   * ✅ **Track Message Bodies** – Logs full message payload
   * ✅ **Track Message Properties** – Logs context properties (MessageType, Operation, etc.)
5. Click **OK** to save
6. **Repeat for all ports and orchestrations**

**Problem:** For environments with hundreds of ports, this manual process is **time-consuming, error-prone, and tedious**.

### Bulk Tracking Management with Nodinite (Recommended)

**Stop logging into BizTalk Admin Console to configure tracking.** Nodinite's [Tracking Management][Tracking Management] feature (part of BizTalk Monitoring Agent) revolutionizes tracking configuration:

#### <i class="fal fa-award" aria-hidden="true"></i> Key Benefits

|**Feature**|**Manual (BizTalk Console)**|**Nodinite Tracking Management**|  
|---|---|---|  
|<i class="fal fa-table-list" aria-hidden="true"></i> **Overview of all tracking settings**|❌ Must check each port individually|✅ Single-screen view of ALL ports/orchestrations|  
|<i class="fal fa-layer-group" aria-hidden="true"></i> **Bulk updates**|❌ One-by-one configuration|✅ Enable/disable tracking on multiple artifacts at once|  
|<i class="fal fa-globe" aria-hidden="true"></i> **Remote access**|❌ Must log into BizTalk server nodes|✅ Manage from Nodinite [Web Client][] anywhere|  
|<i class="fal fa-users" aria-hidden="true"></i> **Permissions required**|❌ BizTalk Administrators or Operators group|✅ [Role][Roles]-based access via Nodinite (no BizTalk groups)|  
|<i class="fal fa-clipboard-list" aria-hidden="true"></i> **Audit logging**|❌ No tracking of who changed what|✅ Full [audit trail][Log Audit Search] of all tracking changes|  
|<i class="fal fa-window-maximize" aria-hidden="true"></i> **Grouped by application**|✅ Yes|✅ Yes (optional grouping)|  
|<i class="fal fa-filter" aria-hidden="true"></i> **Filter by tracking status**|❌ No filtering|✅ [Tracking][Tracking Management] filter: "Tracking Enabled" vs "Tracking Disabled"|  
|<i class="fal fa-stopwatch" aria-hidden="true"></i> **Time to configure 100 ports**|⏱️ ~2-3 hours|⏱️ ~5-10 minutes|  

*Comparison of manual BizTalk Admin Console tracking configuration vs. Nodinite's bulk Tracking Management feature.*

#### <i class="fal fa-rocket" aria-hidden="true"></i> How to Use Tracking Management

1. [Install BizTalk Monitoring Agent][] (if not already installed)
2. **Navigate to [Monitor View][Monitor Views]** → Filter by "Tracking" category
3. **Select tracking resources** (Receive Ports, Send Ports, Orchestrations, [Pipelines][])
4. **Click "List" action** to open bulk management page
5. **Review current tracking settings** across all artifacts
6. **Enable/disable tracking** for multiple items simultaneously
7. **Click "Save to BizTalk"** to apply changes

<i class="fal fa-envelope-open" aria-hidden="true"></i> **Learn more:** [Tracking Management][Tracking Management] – Complete guide with screenshots

#### <i class="fal fa-lightbulb" aria-hidden="true"></i> Recommended Tracking Configuration

**For optimal BizTalk logging with Nodinite:**

|**Artifact Type**|**Recommended Tracking**|**Reason**|  
|---|---|---|  
|<i class="fal fa-sign-in" aria-hidden="true"></i> **Receive Ports (One-Way)**|✅ Message Body - Before<br/>✅ Message Properties - Before|Capture inbound messages as received|  
|<i class="fal fa-arrow-alt-from-right" aria-hidden="true"></i> **Receive Ports (Request/Response)**|✅ Message Body - Before/After<br/>✅ Message Properties - Before/After|Capture both request and response|  
|<i class="fal fa-sign-out" aria-hidden="true"></i> [Send Ports][] (One-Way)|✅ Message Body - After<br/>✅ Message Properties - After|Capture outbound messages after processing|  
|<i class="fal fa-arrow-alt-to-left" aria-hidden="true"></i> [Send Ports][] (Solicit/Response)|✅ Message Body - Before/After<br/>✅ Message Properties - Before/After|Capture both outbound request and inbound response|  
|<i class="fal fa-sitemap" aria-hidden="true"></i> [Orchestrations][]|⚠️ **Only during debugging**<br/>Message Body - Before/After<br/>Shape Start/End|High volume—enable only when troubleshooting|  
|<i class="fal fa-bars" aria-hidden="true"></i> [Pipelines][]|❌ Disable all tracking|Let ports control tracking (see [recommended pipeline settings][TrackingDefaultPipelines])|  

*Recommended BizTalk tracking configuration for Nodinite logging. Use Tracking Management to bulk-apply these settings.*

#### <i class="fal fa-check-circle" aria-hidden="true"></i> Verifying Tracking is Working

After enabling tracking (via Admin Console or Tracking Management):

1. **Process a test message** through BizTalk
2. **Wait 60-90 seconds** for Nodinite Logging Agent to copy events from BizTalkDTADb
3. **Check Nodinite [Log View][Log Views]** to confirm messages appear
4. **If no messages appear:**
   * Verify tracking is enabled (check Tracking Management)
   * Confirm Logging Agent is running (check Logging Service status)
   * Check linked servers are configured (see [Prerequisites][BizTalkPreReqs])
   * Query BizTalkDTADb directly: `SELECT TOP 10 * FROM dtav_ServiceFacts ORDER BY dtStartTime DESC`

#### <i class="fal fa-users" aria-hidden="true"></i> Self-Service for Non-Administrators

**Grant business users and support teams tracking management access without BizTalk Administrator rights:**

1. Create role-based **Monitor View** for "BizTalk Tracking" resources
2. Grant users access to this Monitor View (via Nodinite access control)
3. Users can:
   * ✅ View current tracking settings for all ports/orchestrations
   * ✅ Enable/disable tracking on specific ports
   * ✅ Review tracking changes audit log
   * ❌ Cannot access BizTalk Admin Console or make other BizTalk changes

**Example use case:** Support team needs to enable tracking on a specific port for debugging. Instead of opening BizTalk ticket, they log into Nodinite, navigate to Tracking Management, enable tracking on that port—all done in 30 seconds, fully audited.

---

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

<i class="fal fa-envelope-open" aria-hidden="true"></i> [Tracking Management][Tracking Management] – Bulk update tracking settings for all BizTalk ports  
<i class="fal fa-square-plus" aria-hidden="true"></i> [Add or manage Log Agents][]  
<i class="fal fa-gears" aria-hidden="true"></i> [Administer Nodinite][Administration]  
<i class="fal fa-rocket" aria-hidden="true"></i> [Install][InstallingInstallAndUpdateTool] the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Install and Update Tool][Install and Update - Overview]  
<i class="fal fa-random" aria-hidden="true"></i> [Replace BAM][BAM Replacement] with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>  
<i class="fal fa-file" aria-hidden="true"></i> [Configure Message Types][Message Types] - Make your BizTalk data searchable  

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

<i class="fal fa-square-plus" aria-hidden="true"></i> [BizTalk Prerequisites][BizTalkPreReqs]  
<i class="fal fa-sign-in-alt" aria-hidden="true"></i> [Endpoints][]  
<i class="fal fa-hard-drive" aria-hidden="true"></i> [Logging Service][]  
<i class="fal fa-arrow-alt-to-top" aria-hidden="true"></i> [MessageProcessingMaxBodySize][] - Maximum message body size  
<i class="fal fa-user-tag" aria-hidden="true"></i> [Log Audit Search][]  
<i class="fal fa-sitemap" aria-hidden="true"></i> [Repository Model][]  
<i class="fal fa-file" aria-hidden="true"></i> [Message Types][] - Critical for [Search Field][Search Fields] extraction  
<i class="fal fa-magnifying-glass-plus" aria-hidden="true"></i> [Search Fields][] - Extract business data from BizTalk messages  
<i class="fal fa-stopwatch" aria-hidden="true"></i> [Non-Events Monitoring][] - Track message volumes and patterns  
<i class="fal fa-project-diagram" aria-hidden="true"></i> [BPM][] - End-to-end process tracking  

[0]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/BizTalk/ConfigureBizTalkLogAgentMenu.png
[1]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/BizTalk/AddBizTalkLogAgentButton.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/BizTalk/LogAgentSourcePart1.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/BizTalk/LogAgentSourcePart2.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/BizTalk/LogAgentSourcePart3.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/BizTalk/LogAgentSourcePart4.png

[Add or manage Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/add-or-manage-log-agent/
[Administration]:https://docs.nodinite.com/administration/overview/
[BAM Replacement]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/features/bam-replacement/
[BizTalk Log Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/overview/
[BizTalk Logging]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/overview/
[BizTalk Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/overview/
[BizTalkPreReqs]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/getting-started/prerequisites/
[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[Comments]:https://docs.nodinite.com/getting-started/log/comments-for-logged-messages/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[Install and Update - Overview]:https://docs.nodinite.com/install-and-update/overview/
[Install BizTalk Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/install/
[InstallingInstallAndUpdateTool]:https://docs.nodinite.com/install-and-update/getting-started/version-6/features/managing-install-and-update-tool/
[Log Audit Search]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Events]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Logging]:https://docs.nodinite.com/logging/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[MessageProcessingMaxBodySize]:https://docs.nodinite.com/administration/settings/system-parameters/messageprocessingmaxbodysize/
[MessageProcessingMaxBodySize - BizTalk]:https://docs.nodinite.com/administration/settings/system-parameters/messageprocessingmaxbodysize/#biztalk-server
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Non-Events Monitoring]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[Orchestrations]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/orchestrations/overview/
[Pipelines]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/pipelines/overview/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Send Ports]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/send-ports/overview/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Tracking Management]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/tracking/overview/
[TrackingDefaultPipelines]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/troubleshooting/recommended-tracking-settings-for-default-pipelines/
[Web Client]:https://docs.nodinite.com/getting-started/overview/