---
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.
---

# :fa-edit: Configure Microsoft BizTalk Server Logging Agent

Unlock centralized, future-proof logging for all your BizTalk Server environments with the :Nodinite: 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. :Nodinite: lets you centralize, configure, and optimize logging for robust monitoring and seamless integration.

## :fa-square-plus: Prerequisites

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

>[!IMPORTANT]
>**BizTalk tracking must be enabled for logging to work.** The Logging Agent copies tracked events from BizTalkDTADb—if tracking is not enabled on BizTalk ports/orchestrations, no events will be logged.
>
>:fa-envelope-open: **Enable tracking easily:** Use Nodinite's [Tracking Management][Tracking Management] feature (part of [BizTalk Monitoring Agent][]) 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.  

## :fa-gears: Configuration

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

First, select the environment you want to manage using the :Nodinite: [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.  
   >[!TIP]
   >Include the name and version of the target environment, for example, `BizTalk 2016 PROD`.  
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.*  

### :fa-database: BizTalk Databases

1. **BizTalkMgmtDb Server** – Enter the SQL instance name hosting the BizTalk management database (linked server info from :Nodinite: 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 :Nodinite: 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.*  

### :fa-box-archive: 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.*  

### :fa-sign-in: EndPoints

If you enable this option, :Nodinite: 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.*  

### :fa-trash-can: Remove

Remove the :Nodinite: BizTalk Server Log Agent configuration by clicking the **Remove [BizTalk Logging][]** button.  

### :fa-save: Save

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

>[!NOTE]
>:Nodinite: < 7.0 – You must **restart** the :Nodinite: [Logging Service][] after making changes.  
>:Nodinite: >= 7.0 – Allow a few minutes for the initial synchronization with BizTalk Server to complete, then [Logging][] becomes operational.

---

## :fa-clock-rotate-left: How Tracked Data Is Copied {#how-tracked-data-is-copied}

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].

### Late Tracked Data {#late-tracked-data}

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 :Nodinite:, 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.*

---

## :fa-envelope-open: 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:

#### :fa-award: Key Benefits

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

#### :fa-rocket: 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

:fa-envelope-open: **Learn more:** [Tracking Management][Tracking Management] – Complete guide with screenshots

#### :fa-lightbulb: Recommended Tracking Configuration

**For optimal BizTalk logging with Nodinite:**

|**Artifact Type**|**Recommended Tracking**|**Reason**|  
|---|---|---|  
|:fa-sign-in: **Receive Ports (One-Way)**|✅ Message Body - Before<br/>✅ Message Properties - Before|Capture inbound messages as received|  
|:fa-arrow-alt-from-right: **Receive Ports (Request/Response)**|✅ Message Body - Before/After<br/>✅ Message Properties - Before/After|Capture both request and response|  
|:fa-sign-out: [Send Ports][] (One-Way)|✅ Message Body - After<br/>✅ Message Properties - After|Capture outbound messages after processing|  
|:fa-arrow-alt-to-left: [Send Ports][] (Solicit/Response)|✅ Message Body - Before/After<br/>✅ Message Properties - Before/After|Capture both outbound request and inbound response|  
|:fa-sitemap: [Orchestrations][]|⚠️ **Only during debugging**<br/>Message Body - Before/After<br/>Shape Start/End|High volume—enable only when troubleshooting|  
|:fa-bars: [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.*

#### :fa-check-circle: 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`

#### :fa-users: 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.

---

## :fa-hand-point-right: Next Steps

:fa-envelope-open: [Tracking Management][Tracking Management] – Bulk update tracking settings for all BizTalk ports  
:fa-square-plus: [Add or manage Log Agents][]  
:fa-gears: [Administer Nodinite][Administration]  
:fa-rocket: [Install][InstallingInstallAndUpdateTool] the :Nodinite: [Install and Update Tool][Install and Update - Overview]  
:fa-random: [Replace BAM][BAM Replacement] with :Nodinite:  
:fa-file: [Configure Message Types][Message Types] - Make your BizTalk data searchable  

## :fa-link-horizontal: Related Topics

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

[0]:{ndm}/Documentation%20Pictures/LogAgent/BizTalk/ConfigureBizTalkLogAgentMenu.png
[1]:{ndm}/Documentation%20Pictures/LogAgent/BizTalk/AddBizTalkLogAgentButton.png
[2]:{ndm}/Documentation%20Pictures/LogAgent/BizTalk/LogAgentSourcePart1.png
[3]:{ndm}/Documentation%20Pictures/LogAgent/BizTalk/LogAgentSourcePart2.png
[4]:{ndm}/Documentation%20Pictures/LogAgent/BizTalk/LogAgentSourcePart3.png
[5]:{ndm}/Documentation%20Pictures/LogAgent/BizTalk/LogAgentSourcePart4.png

[Add or manage Log Agents]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/Add%20or%20manage%20Log%20Agent.md
[Administration]:{ndr}/Administration/Overview.md
[BAM Replacement]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Logging/Features/BAM%20Replacement.md
[BizTalk Log Agent]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Logging/Overview.md
[BizTalk Logging]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Logging/Overview.md
[BizTalk Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Overview.md
[BizTalkPreReqs]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Logging/Getting%20started/1.%20Prerequisites.md
[BPM]:{ndr}/Repository%20Model/BPMs/Overview.md
[Comments]:{ndr}/Getting%20Started/2.%20Log/Comments%20for%20logged%20messages.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[Install and Update - Overview]:{ndr}/Install%20and%20Update/Overview.md
[Install BizTalk Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Getting%20started/2.%20Install.md
[InstallingInstallAndUpdateTool]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Features/Managing%20Install%20and%20Update%20Tool.md
[Log Audit Search]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Log Events]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Logging]:nodiniteDoc:/Logging
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[MessageProcessingMaxBodySize]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/MessageProcessingMaxBodySize.md
[MessageProcessingMaxBodySize - BizTalk]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/MessageProcessingMaxBodySize.md#biztalk-server
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Non-Events Monitoring]:{ndr}/Logging%20and%20Monitoring/Non-Events/Overview.md
[Orchestrations]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Orchestrations/Overview.md
[Pipelines]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Pipelines/Overview.md
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Search Fields]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/What%20is%20a%20Search%20Field.md
[Send Ports]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Send%20Ports/Overview.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Tracking Management]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Tracking/Overview.md
[TrackingDefaultPipelines]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Troubleshooting/Recommended%20tracking%20settings%20for%20default%20pipelines.md
[Web Client]:{ndr}/Getting%20Started/Overview.md