WinSCP writes log files to D:\PortableApps\WinSCPPortable\Data\settings\winscp.log even when logging is disabled in the program.
Logs are written by default even though the interface indicates logging is disabled by default, and logs are still written if logging is turned on and then off.