rladstaetter / LogoRRR

A simple and straightforward log viewer that displays the events of interest in a clear and concise visual manner so that you can identify them faster.
https://www.logorrr.app/
Apache License 2.0
117 stars 7 forks source link

Fix parallel loading of files #222

Closed rladstaetter closed 4 months ago

rladstaetter commented 5 months ago

Describe the bug

Fix loading of files in parallel.

At the moment it can happen that loading a file triggers a 'Not found' message even if the file exists and is loaded into LogoRRR.

To Reproduce

Expected behavior Message does not occur, files are loaded in order of appearance of logorrr.conf, the correct file is selected.

Additional context This happens since several log files are loaded in parallel in different threads, and this thread handling is not implemented correctly. The ordering of the files is also determined on how long those files need to load rather than original ordering which is defined in logorrr.conf.

rladstaetter commented 4 months ago

fixed with #155