Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

m.w35tin

Thank you Martin. I ended up using the parameters below in my powershell script:

$session.AddRawConfiguration("Logging\LogMaxSize", "10485760")
$session.AddRawConfiguration("Logging\LogMaxCount", "2")
m.w35tin

/logsize for Powershell script

Hello. I'm using the sample powershell script from here https://winscp.net/eng/docs/library_powershell.

I'm able to generate my log using SessionLogPath but is there a comparable option to /logsize so I can set the number of log files and their sizes? Thank you kindly.