sergey-su / logjoint

LogJoint log viewer core. Viewer plugins for publicly-available domains.
MIT License
55 stars 13 forks source link

Doesn't show logs with custom parser #27

Closed xnorpx closed 2 years ago

xnorpx commented 2 years ago

Hi!

Writing a custom parser for my loglines but having issues with the parser, everything tests successfully and it looks good.

But when opening the log it doesn't work.

image

image

xnorpx commented 2 years ago

parser.zip

xnorpx commented 2 years ago

Attached, xml file and example log

sergey-su commented 2 years ago

The sample contains an unexpected charachter at the beginning of one line image

I fixed the format definition to tolerate such unexpected charachters. Also made a few changes to make the parsing less ambiguous and to tolerate small time ordering defects (apparently your logger does not guarantee 100% ordering by time). format.zip

xnorpx commented 2 years ago

Oh, my bad.

Thanks a lot! Verified it worked great now.