How to enable PowerShell probe debug logging in the ECC Input, and use SNCLog-DebugInfo to write your own debug message


Description

Description


In some cases, it's helpful to enable PowerShell probe debug logging, which will provide debug information in the ECC Input.

For example: PowerShell Version on the MID server, credential testing method, etc.

 

The debug information will be put under <log_info> tag instead of <output> tag.

 

 

Procedure


To enable the debug logging:

Navigate to MID Server > Properties > search for mid.property.powershell.log_info > set value to true.

 

To log a debug message, use function SNCLog-DebugInfo in below syntax:

SNCLog-DebugInfo -Message "My debug message"

 

 

Applicable Versions


Kingston onwards