Converted logging middleware to use new logger

This commit is contained in:
2025-02-09 17:38:35 +11:00
parent b2ed646ffd
commit 49d9806bd6
4 changed files with 22 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ func run(ctx context.Context, w io.Writer, args map[string]string) error {
}
defer conn.Close()
srv := server.NewServer(config, conn)
srv := server.NewServer(config, logger, conn)
httpServer := &http.Server{
Addr: net.JoinHostPort(config.Host, config.Port),
Handler: srv,