Topic "EXTREMELY LARGE WINSCP LOG FILES"

Author Message
stevem16
[View user's profile]

Joined: 2014-05-01
Posts: 1
Hi,

Have a question regarding the WINSCP log file creation when scripting. We run a large number of scripts every day. We appear to have an intermittent problem with FTP's failing. When investigating, the log file from WINSCP is extremely large (close to 1GB) and can't even be opened. I've deleted the log file and then reran the script successfully. The log file the 2nd time (successful execution) is still extremely large.

I've done an analysis of our scripts and found examples where we have 2 identical scripts (except for the file name being sent) connecting to the same location, same log file parameters etc.... The one script creates a log file of 1,164KB the other 451,832KB. I don't understand how there can be such a discrepancy in the log file sizes. Can this be caused by multiple scripts running at the same time? Each script writes to a different log file name.

Here are the 2 scripts I mentioned above:

c:
cd\Program Files\winSCP
winscp.exe /script=E:\ESP\Scripts\FTPCNTL\BLKFTPGT.txt /log=e:\esp\scripts\logs\BLKFTPGT.txt



c:
cd\Program Files\winSCP
winscp.exe /script=E:\ESP\Scripts\FTPCNTL\BLKFTPET.txt /log=e:\esp\scripts\logs\BLKFTPET.txt




I'm at a loss... Any help, ideas would be appreciated.

Thanks,
Steve
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Are the scripts running under the same local account? If they are not, it can be that one account has debug logging configured:
http://winscp.net/eng/docs/ui_pref_logging
Otherwise, it's difficult to help you without seeing at least a snippet of the logs.
_________________
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