Kittyfisto / Tailviewer

Open source log file viewer
https://kittyfisto.github.io/Tailviewer/
MIT License
200 stars 37 forks source link

Multiline detection does not work when no log level is present #183

Closed Kittyfisto closed 5 years ago

Kittyfisto commented 5 years ago

Current behaviour

A log file such as the following:

2019-04-10 17:16:08,886 Foo Foo executed successfully (more information here) 2019-04-10 17:16:10,471 CrimePoiSampleData stopped

Is currently interpreted by Tailviewer to be three single-line log entries. This is due to the fact that TV expects the first line of a log entry to contain the log level and it will assume that every following line which does not contain a log level belongs to the same log entry until it detects a line with a log level again.

Expected behaviour

Tailviewer should expand the same algorithm to lines containing a timestamp. The log file in the above example should be interpreted to be only two log entries, the first one consisting of two lines, following by a single line log entry.

Kittyfisto commented 5 years ago

Fixed with v0.8.0