monogon-dev / monogon

The Monogon Monorepo. May contain traces of peanuts and a ✨pure Go Linux userland✨. Work in progress!
https://monogon.tech
Apache License 2.0
378 stars 9 forks source link

Persistent node logs #325

Open leoluk opened 2 months ago

leoluk commented 2 months ago

We only persist crashes, but sometimes, it would be useful to inspect the last boot's log buffers.

Has to be implemented carefully to avoid blocking I/O.

fionera commented 2 months ago

This sadly boils down to "lets reimplement journald" since we do have to do blocking-io to not loose any logs. Maybe a service that persists it in the background into a ringbuffer-ish storage area?