mirage / irmin

Irmin is a distributed database that follows the same design principles as Git
https://irmin.org
ISC License
1.85k stars 157 forks source link

irmin-pack: Activity log #1856

Open Ngoguey42 opened 2 years ago

Ngoguey42 commented 2 years ago

In order to simplify debugging we could add an append only ascii file that lists the timestamps of the creation, openings, gc starts and gc ends.

Ngoguey42 commented 2 years ago

How bad would it be that open_ro writes something in such a file?

tomjridge commented 2 years ago

I agree that it might be very useful to have GC write its own internal logs to a separate file (whilst also reporting logs to the usual places).

Since it's a log file, open_ro could write things in this file (?not sure why we wouldn't want it to if needed)