use logger

This commit is contained in:
pascal
2026-02-04 23:10:01 +01:00
parent 790ef39187
commit b01809f8e3
5 changed files with 19 additions and 10 deletions

View File

@@ -210,10 +210,10 @@ func (s *Server) ListenAndServe(ctx context.Context, addr string) (err error) {
}
// Configure the reverse proxy using NetBird's HTTP Client Transport for proxying.
s.proxy = proxy.NewReverseProxy(s.netbird)
s.proxy = proxy.NewReverseProxy(s.netbird, s.Logger)
// Configure the authentication middleware.
s.auth = auth.NewMiddleware()
s.auth = auth.NewMiddleware(s.Logger)
// Configure Access logs to management server.
accessLog := accesslog.NewLogger(s.mgmtClient, s.Logger)