microcluster
microcluster copied to clipboard
Set our logger for the HTTP server
Currently the underlying http.Server is using the standard logger in case it observers errors. When replacing the logger with the standard one we should also make sure to set ErrorLog to ours.
That was observed whilst debugging https://github.com/canonical/go-dqlite/issues/398.