Merge pull request #50986 from thaJeztah/trace_logging

daemon/server: fix requests not logged with --log-level=trace
This commit is contained in:
Sebastiaan van Stijn
2025-09-16 12:47:11 +02:00
committed by GitHub

View File

@@ -16,7 +16,7 @@ func (s *Server) handlerWithGlobalMiddlewares(handler httputils.APIFunc) httputi
next = m.WrapHandler(next)
}
if log.GetLevel() == log.DebugLevel {
if log.GetLevel() >= log.DebugLevel {
next = middleware.DebugRequestMiddleware(next)
}