Session log file rotation macro (e g add day, hour)
We have some issue where same session log file is reused by same integration flow (same destination). One destination has one optional session log file. In many cases the customer needs to keep the log enabled all the time as they need to prove that the transfer was made later when others complain. This is the WinSCP session log. The problem is when using the same session log is that it is locked when in use and it is getting really large which slows down eventually and you need to stop everything to unlock the file and move it to generate a new one.
I don't see any macros documented for the session log. Is it possible to specify a macro to make WinSCP divide the session log automatically? Would it be possible to add this feature in the future if not possible? I see a need for daily and hourly macro for this:
https://winscp.net/eng/docs/library_session#sessionlogpath
e g something like this:
Or new property, e g
None (default)
Daily
Hourly
I don't see any macros documented for the session log. Is it possible to specify a macro to make WinSCP divide the session log automatically? Would it be possible to add this feature in the future if not possible? I see a need for daily and hourly macro for this:
https://winscp.net/eng/docs/library_session#sessionlogpath
e g something like this:
C:\temp\SFTPLocation1-%yyyy%-%MM%-%dd%-%hh%.txt C:\temp\SFTPLocation1-%yyyy%-%MM%-%dd%.txt
Or new property, e g
SessionLogRotationPeriod
:
None (default)
Daily
Hourly