diff --git a/core/http/app.go b/core/http/app.go index 328a9d8e9..376a403dc 100644 --- a/core/http/app.go +++ b/core/http/app.go @@ -108,7 +108,15 @@ func API(application *application.Application) (*echo.Echo, error) { req := c.Request() res := c.Response() err := next(c) - xlog.Info("HTTP request", "method", req.Method, "path", req.URL.Path, "status", res.Status) + + // Fix for #7989: Reduce log verbosity of Web UI polling + // If the path is /api/operations and the request was successful (200), + // we log it at DEBUG level (hidden by default) instead of INFO. + if req.URL.Path == "/api/operations" && res.Status == 200 { + xlog.Debug("HTTP request", "method", req.Method, "path", req.URL.Path, "status", res.Status) + } else { + xlog.Info("HTTP request", "method", req.Method, "path", req.URL.Path, "status", res.Status) + } return err } })