4.2.1 XMLlogging bug

Advertisement

Freitag
Freitag avatar
Joined:
Posts:
53

4.2.1 XMLlogging bug

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,303
Location:
Prague, Czechia

Re: 4.2.1 XMLlogging bug

I'm aware of that. I should probably disallow changing log file name while XML logging is enabled.
_________________
Martin Prikryl

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,303
Location:
Prague, Czechia

Re: 4.2.1 XMLlogging bug

This issue has been added to tracker.
_________________
Martin Prikryl

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,303
Location:
Prague, Czechia

Re: 4.2.1 XMLlogging bug

Otherwise, how do you like XML logging? Does it suit your needs?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum