You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not familiar with this logging infrastructure, and the docs are a bit confusing. But from what I can tell, errors that happen in the grpc API do get logged.
Looking at https://github.com/grpc-ecosystem/go-grpc-middleware/blob/master/logging/logrus/ctxlogrus/context.go#L36 it looks like you need to call ctxlogrus.ToContext(context) first, before you can call extract.
I can't find ToContext being called. This makes https://github.com/freifunkMUC/wg-access-server/blob/master/internal/services/middleware.go#L22 a null logger.
The text was updated successfully, but these errors were encountered: