Topic "Logging not working until session/Winscp is closed"

Author Message
naeco

Guest


Hi!

I'm running 5.8.4rc and find that logs are no longer created simultaneously during sessions. Only after closing the session or the client will the log be generated.

I assume that this behavior occurs due to the recent removal of log window.

It's quite inconvenient when in the middle of a running session, I have to check the log whether a file has been sent.

I really hope it is not intended to be so after log window removal. :)

For now I'm falling back to 5.8.2 beta where logging work as intended.

Best regards,
NHH
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I'm not sure I understand. If I open two sessions at the same time (in two tabs), using WinSCP 5.9, both create their own log files.
Guest




martin wrote:
I'm not sure I understand. If I open two sessions at the same time (in two tabs), using WinSCP 5.9, both create their own log files.


I've just got 5.9 downloaded and running.

At first, in file explorers, it looked like that logs are still not generated during a running session (file size and time stamp are unchanged even after refresh, 0Kb at the beginning of the day). However, I trusted in your reply so I opened the log file and voilà.. Upon opening the file, the log is generated and updated. :)

A little confusing since the files are not updated on-the-fly, but knowing how it works now, I can work with it

Cheers!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Quote:
A little confusing since the files are not updated on-the-fly, but knowing how it works now, I can work with it

This has nothing to do with WinSCP. I hope you understand, that it's not WinSCP that somehow magically checks that you try to read the log file and updates the file only afterwards. WinSCP writes the log continuously. It's Windows that somehow caches a file information, probably for performance reasons.
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