Kittyfisto / Tailviewer

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

Fix broken log counters #315

Open Kittyfisto opened 3 years ago

Kittyfisto commented 3 years ago

This defect was introduced after the last release and concerns the counters at the top. At the moment, the log entries are counted before they are grouped. This a regression compared to before where only full log entries were counted. In the case of a multi-line log entry, the specific counter was incremented by 1 regardless of the number of lines.

However now every successive line counts towards the "other" category which is obviously wrong and confusing considering that coloring by log level takes multiline log entries into account as expected.