mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
Uses a new middleware which calls httputils.DumpRequest which is output to `logrus.Debug`. This is implemented in a separate middleare so that we only have to check the logging level when the router is instantiated rather than at every request. If this was just `logrus.Debug(httputil.DumpRequest(...))`, the DumpRequest would be called on each request requardless of logging level set on the daemon. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: 37dbe075196d638d6bd417716deaf067247ee966 Component: engine