Topic "How to make /log option less verbose?"

Author Message
FlatlanderByTheLake
[View user's profile]

Joined: 2011-02-28
Posts: 4
Location: Chicago
Hello,

I am using WinSCP.exe in an NT shell script, and it is working nicely. I use the "/log=C:\MyLogFile.log" option. The problem is that WinSCP provides "too much information" (as they say in America!).

Is there a way to specify that the logs be less verbose?

Thanks in advance.

Tim
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Try using XML logging.
_________________
Martin Prikryl
FlatlanderByTheLake
[View user's profile]

Joined: 2011-02-28
Posts: 4
Location: Chicago
A follow-up question about logging to a file. At the following page...

http://winscp.net/eng/docs/logging

... it says the following:

"Text log: Events are logged in unstructured form with configurable level of verbosity."

How do I configure the level of verbosity?

Thanks
Flatlander
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
http://winscp.net/eng/docs/ui_pref_logging

Though note that the default level is the lowest one.
_________________
Martin Prikryl
nealobrien
[View user's profile]

Joined: 2014-04-23
Posts: 6
The verbosity of the logging really does make it hard to use. It would be nice if upon error the log dumped all these details but with success was more succinct, for example just listing the open/close and files transferred. It reads like a debug log. Is it possible some form of non xml simple logging could be added?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
nealobrien wrote:
It reads like a debug log.

That's what it is.

Quote:
Is it possible some form of non xml simple logging could be added?

XML can be converted to anything you like easily. E.g. using XSLT.
nealobrien
[View user's profile]

Joined: 2014-04-23
Posts: 6
It would be very helpful to have a less verbose (non-xml) logging option. A log with logon/logoff, commands, what files have been moved, and any failures and close/exit. Is this an unrealistic/not-going-to-happen request? Its just that the current debug log is hard to use at all and it grows so fast it has to be backed up frequently.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
nealobrien wrote:
It would be very helpful to have a less verbose (non-xml) logging option. A log with logon/logoff, commands, what files have been moved, and any failures and close/exit. Is this an unrealistic/not-going-to-happen request? Its just that the current debug log is hard to use at all and it grows so fast it has to be backed up frequently.

I do not think I like an idea of having third log file format.
_________________
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