microcluster icon indicating copy to clipboard operation
microcluster copied to clipboard

Set our logger for the HTTP server

Open roosterfish opened this issue 4 months ago • 0 comments

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.

roosterfish avatar Aug 28 '25 08:08 roosterfish