DebugLogLevel 'Reduced' not applying
I've got a PowerShell module which uses WinSCP (5.17.9). When I apply the
If I manually assign a value that clearly isn't available e.g.
Anyone else had any issues with log level for 'Reduced'?
DebugLogLevel
to the session the value -1
which is supposed to represent 'Reduced' doesn't apply. The log level remains as 'Normal'. I can see in the session output within PowerShell that the value is assigned as -1
, but it's as if it's being ignored. It works fine for Debug 1 and 2.
If I manually assign a value that clearly isn't available e.g.
-2
then I get the following error:
I can still assign the value asException setting "DebugLogLevel": "Specified argument was out of the range of valid values.
Parameter name: Logging level has to be in range 0-2"
-1
without any issue. So I guess the error message just hasn't been updated. The GUI works fine.
Anyone else had any issues with log level for 'Reduced'?