Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Can I tell WinSCP to be less detailed in it's log?

The WinSCP session log is for debugging, not for logging transfers.

Use XML log instead.
https://winscp.net/eng/docs/logging_xml
swapjim

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

I'm using this line to sync from a local directory to a remote one via ssh:

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.