Thanks for the update. Currently we pass through the session log file name so it can be changed by anyone so if WinSCP allow other future macro changes anyone could change this. So it would be great if you could support the macros also in this automation .NET scenario like we have in the GUI options in same way.
What do you mean by "pass through"? Do you mean that the log file for WinSCP is configurable in your application/script/whatever? So implement placeholders in your code.
After testing with the max log size rotation (Logging\LogMaxSize
), it gives errors so unfortunately this cannot be used in automation scenario it seems. It only works for single session, but as soon as there are multiple sessions errors like these happens:
...
Please post debug and session log files.