Biztalk logging additional data when change from FTP to SFTP adapter

Sandeep Vallabhaneni 0 Reputation points
2026-03-10T15:05:02.3466667+00:00

I created Biztalk send ports/Recieve Locations with Transportation Type of SFTP. After configuration of log folder under Others section in SFTP Transport properties dialog box we are noticing lot of additional log information is being written(adding around 6 MB in lower environment with minimal activity). All we need is whether Access is granted from log folder.

In Biztalk Admin console under SFTP Transport properties dialog box i checked for Enable Session logging on level property or set log level dropdown but couldn't find them. Are there any properties where we set for minimal information to be written in log file??

Based on the log file looks like it is currently at Log level: Normal

WinSCP Version 6.1.2 (Build 13797 2023-09-19) (OS 10.0.20348 – Windows Server 2022 Datacenter)

Configuration: nul

Log level: Normal

We are running on Biztalk 2020 & currently polling Interval is set to 5 minutes & Redownload Interval to -1

BizTalk Server
BizTalk Server

A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.

0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-03-10T15:05:24.01+00:00

    BizTalk’s SFTP adapter does not expose a configurable “log level” setting in the transport properties. When a Log folder is configured on the SFTP transport, the adapter writes detailed WinSCP session logs, and this behavior cannot be tuned to a more minimal level from BizTalk itself.

    Available SFTP‑related improvements in BizTalk 2020 focus on:

    • Upgrading the embedded WinSCP version.
    • Adding an Error Threshold property to disable the receive location after a certain number of errors.
    • Writing SFTP receive‑location exceptions to the Windows Event Log for troubleshooting.

    These changes (delivered via cumulative updates) do not include any property to reduce or change the verbosity of the SFTP session log written to the configured Log folder.

    If the only requirement is to verify that access is granted and basic connectivity works, the alternatives within BizTalk are:

    • Rely on the Windows Event Log entries generated by the SFTP adapter (especially with the improvements from the cumulative updates), instead of enabling the adapter’s own Log folder.
    • Use the Log folder only temporarily while diagnosing issues, then disable it to avoid continuous growth.

    There is no documented BizTalk SFTP adapter property to switch the WinSCP log from “Normal” to a more minimal level.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.