Open vroldanbet opened 1 year ago
cobrautil/v2 async logger was introduced in https://github.com/authzed/spicedb/pull/844 and then disabled in https://github.com/authzed/spicedb/pull/888. Currently there is no means to prevent log from being lost on process termination because the corresponding log buffer is not being flushed.
cobrautil/v2
Reintroduce async log, making sure we can flush out when the process is terminating.
We might be able to re-enable it if we leverage the new closeables implemented in RunnableServer
RunnableServer
cobrautil/v2
async logger was introduced in https://github.com/authzed/spicedb/pull/844 and then disabled in https://github.com/authzed/spicedb/pull/888. Currently there is no means to prevent log from being lost on process termination because the corresponding log buffer is not being flushed.Reintroduce async log, making sure we can flush out when the process is terminating.