1

Closed

Error on viewing binary log file

description

Hi,
i have created a log that write simultaneously a text and a binary file.
But if in the both files the data are written correctely, when i try to read the binary files with Tracer-X Viewer i cannot reach to view the entire file, but only the first part.
Thanks in advance
Stefano

file attachments

Closed Jan 27, 2012 at 10:47 PM by MarkLTX
Fixed

comments

MarkLTX wrote Jan 15, 2012 at 10:20 PM

The good news is I was able to find and fix the bug. The plain text file you included with the binary file provided the main clue I needed.

The bad news is the bug is in the logger, not the viewer, and any logs affected by it will never be viewable. The problem occurs when a null string is passed to the Logger.Info(string msg) method (it doesn't affect the other overloads, which take Object parameters). The logger tries to write the null string to the file, gets an exception, and handles it by closing the file and ignoring all future logging.

I'm working on releasing the new version soon.

MarkLTX wrote Jan 27, 2012 at 10:46 PM

Fixed in version 6.0.1201.15192.