From 4afafe953825d7b1b530907995989b3e9013f741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Fri, 5 May 2017 23:30:04 +0200 Subject: [PATCH] Log output of docker/distribution registries instead of sending it to /dev/null This is useful for diagnosing failures which are logged locally but not reported to the clients. --- integration/registry.go | 1 + 1 file changed, 1 insertion(+) diff --git a/integration/registry.go b/integration/registry.go index 0136e336..fa749bd7 100644 --- a/integration/registry.go +++ b/integration/registry.go @@ -109,6 +109,7 @@ http: } cmd := exec.Command(binary, confPath) + consumeAndLogOutputs(c, fmt.Sprintf("registry-%s", url), cmd) if err := cmd.Start(); err != nil { os.RemoveAll(tmp) if os.IsNotExist(err) {