Differences

This shows you the differences between the selected revisions of the page.

2017-02-03 2017-06-01
fixing anchor (martin) 5.10 Bug 18 Session log file rotation (martin)
Line 19: Line 19:
winscp.exe [mysession] [/rawsettings setting1=value1 setting2=value2 ...] winscp.exe [mysession] [/rawsettings setting1=value1 setting2=value2 ...]
winscp.exe [/console] [/script=script_file] [/command command1 command2 ...] [/parameter // param1 ...] winscp.exe [/console] [/script=script_file] [/command command1 command2 ...] [/parameter // param1 ...]
-winscp.exe [/log=<logfile>  [/loglevel=<level>]] [/xmllog=<logfile> [/xmlgroups]]+winscp.exe [/log=<logfile>  [/loglevel=<level>] [/logsize=[count*]<size>]] [/xmllog=<logfile> [/xmlgroups]]
winscp.exe [/ini=<inifile>] winscp.exe [/ini=<inifile>]
winscp.exe [/rawconfig config1=value1 config2=value2 ...] winscp.exe [/rawconfig config1=value1 config2=value2 ...]
Line 31: Line 31:
<code batch> <code batch>
winscp.com [/script=script_file] [/command command1 command2 ...] [/parameter // param1 ...] winscp.com [/script=script_file] [/command command1 command2 ...] [/parameter // param1 ...]
-winscp.com [/log=<logfile> [/loglevel=<level>]] [/xmllog=<logfile> [/xmlgroups]] [/nointeractiveinput]+winscp.com [/log=<logfile> [/loglevel=<level>] [/logsize=[count*]<size>]] [/xmllog=<logfile> [/xmlgroups]] [/nointeractiveinput]
winscp.com [/ini=<inifile>] winscp.com [/ini=<inifile>]
winscp.com [/rawconfig config1=value1 config2=value2 ...] winscp.com [/rawconfig config1=value1 config2=value2 ...]
Line 78: Line 78:
Use parameter ''/loglevel'' to change logging level. The value can be in range ''0''..''2'' (for //Normal//, //Debug 1// and //Debug 2// logging levels respectively). Append additional ''*'' to enable password logging (e.g. ''/loglevel=2*'').((Append ''*-'' to disable password logging.)) Use parameter ''/loglevel'' to change logging level. The value can be in range ''0''..''2'' (for //Normal//, //Debug 1// and //Debug 2// logging levels respectively). Append additional ''*'' to enable password logging (e.g. ''/loglevel=2*'').((Append ''*-'' to disable password logging.))
 +
 +Use parameter ''/logsize'' to configure log file size limit and log file rotation. Specify maximum size in bytes, optionally with ''K'', ''M'' or ''G'' units. Optionally you can limit number of archived log files using ''count*'' prefix. For example ''/logsize=5*10M'' will limit log file size to 10 MB and will allow up to 5 archived logs. &beta_feature
<code batch> <code batch>

Last modified: by martin