Using Session.SessionLogPath does not trigger Log File Rotation
I am using Session.SessionLogPath to set the log file to <fileName>.log in C:/WINSCP/logs/
I have tried setting the Max Size and Max Count settings in both the ini file and via sessionOptions.AddRawSettings, using a small value of 100 bytes or so to test immediately, and neither setting applies rotation to the log file. It just continues to grow.
I have even tried appending the Session name via <fileName>_!S but that just comes out as a literal _!S in the filename.
Am I missing something, or is it just not possible to rotate logs in this manner?
I have tried setting the Max Size and Max Count settings in both the ini file and via sessionOptions.AddRawSettings, using a small value of 100 bytes or so to test immediately, and neither setting applies rotation to the log file. It just continues to grow.
I have even tried appending the Session name via <fileName>_!S but that just comes out as a literal _!S in the filename.
Am I missing something, or is it just not possible to rotate logs in this manner?