Topic "log file session parameter - !S"

Author Message
landog
[View user's profile]

Joined: 2013-08-20
Posts: 3
Location: Cleveland
I have checked 'Enable XML logging to file' with a path of
Code:
C:\log\WinSCP-!S-!Y-!M-!D-!T.xml


I have two scripts which run as scheduled tasks every 10 minutes. One script launches a "test" profile and the other launches a "live" profile.

No matter which script runs, the log file is named with the "test" session:
Code:
WinSCP-test-2013-08-20-074500.xml

Code:
WinSCP-test-2013-08-20-074700.xml


If I'm doing something wrong, please advise, but it seems like a 'bug' to me. Surprised

Thanks!
-dog
landog
[View user's profile]

Joined: 2013-08-20
Posts: 3
Location: Cleveland
I am using v 5.1.7

When I use winscp.com with the /xmllog switch I do get the correct session name in the log file.

That's the way to go, apparently!

Thanks,
-dog
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
It should work even if you configure the path in GUI in advance. Can you post an example of your previous script?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License