Topic "4.2.1 XMLlogging bug"

Author Message
Freitag
[View user's profile]

Joined: 2007-10-25
Posts: 51
If you have regular logging turned on and you change to XML logging and at the same time change the log file pattern name, the app starts writing to the new log file.

You end up with </session> closing tag when there is no <session> open tag in the last log file created.

Only a small thing and in plain text log it is not important because it is unformatted.

I did not specifically test, but I think the issue is when changing the log file name template (or directory) that the open tags are not closed before writing stops on old log file. And also tags are not opened for the new log file.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
I'm aware of that. I should probably disallow changing log file name while XML logging is enabled.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
This issue has been added to tracker.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Otherwise, how do you like XML logging? Does it suit your needs?
_________________
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