mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 23:33:12 +09:00
The interface provided by Winston is unusably slow for querying large logs. Reimplement the log querying with both forwards and backwards line reading and a simple file based index to skip files which do not contain any lines matching the filter.
4 lines
249 B
Plaintext
4 lines
249 B
Plaintext
{"timestamp":"2021-12-11T10:00:00.000Z","level":"verbose","message":"Master start"}
|
|
{"timestamp":"2021-12-11T10:00:01.000Z","level":"verbose","message":"Loading"}
|
|
{"timestamp":"2021-12-11T10:00:03.000Z","level":"fatal","message":"An error occured"}
|