|
|
|
|
|
by rnhmjoj
1865 days ago
|
|
I think the issue is not that it's binary, but that it's a custom half-assed format. It's actually pretty slow because there is not enough indexing, this is why `systemctl status` can takes seconds to show the last 10 log lines[1]. Even worse, systemd can detect corruption but can't repair the logs[2], in practice a power failure can mean months of logs thrown away. Thankfully it can skip over corruption, so logging continues to work. I would have no problem if systemd used a database like sqlite, lmdb or anything else with some valid tooling, indexing, caching and proper recovery solutions. [1]: https://github.com/systemd/systemd/issues/2460 [2]: https://unix.stackexchange.com/questions/86206 |
|