Topic "Can I tell WinSCP to be less detailed in it's log?"

Author Message
swapjim
[View user's profile]

Joined: 2015-08-19
Posts: 9
I'm using this line to sync from a local directory to a remote one via ssh:

Quote:
winscp.com /log=sync.log /loglevel=0 /command "option transfer binary" "open sftp://username:password@192.168.0.1:22 -privatekey=key.ppk" "cd ~/backup" "lcd d:\" "synchronize remote -mirror -delete -preservetime" "exit"


and log file that I get in one sync is around 160MB. I've looked inside it and it's very detailed. Can I tell WinSCP not to be so detailed about the operation it performs?

I'm okay for one line per file that was copied. Something like the output that robocopy and 'rsync -av' output.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
The WinSCP session log is for debugging, not for logging transfers.

Use XML log instead.
http://winscp.net/eng/docs/logging_xml
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