Re: Change log level with command line parameter?
Edit 2023: First, if the log size started being larger suddenly, it's likely because you have increased the logging level in the GUI. And as your script is not isolated from the GUI configuration, it got affected. Use
See https://winscp.net/eng/docs/scripting#configuration
Anyway, to explicitly set logging level on commandline, use
https://winscp.net/eng/docs/commandline#logging
/ini=nul
to isolate the script from GUI configuration (what will among other reset the logging to the default Normal level).
See https://winscp.net/eng/docs/scripting#configuration
Anyway, to explicitly set logging level on commandline, use
/loglevel
switch.
https://winscp.net/eng/docs/commandline#logging