Log file growing larger than specified limit
Below are the parameters of my batch script. Based on my understanding, my log file size should be limited to 10MB and I would only have 5 log files in retention. However, as it sits, my log file 101MB and still growing. Please let me know what I might be missing.
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^ /log="E:\ftplog\WinSCP.log" /ini=nul /logsize=5*10M ^ /command ^ "open redacted" ^ "option batch continue" ^ "option confirm off" ^ "lcd E:\Peraton" ^ "cd /" ^ "put -delete *.xml" ^ "exit"