Place global logs in log/ subdir

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2019-01-07 20:48:11 +00:00
parent e46837f64c
commit e3e5612f95

View File

@ -66,7 +66,7 @@ var _ = ginkgo.SynchronizedAfterSuite(func() {},
}
for k, v := range globalLogs {
outPath := path.Join(framework.DefaultConfig.Ginkgo.ReportDirectory, k)
outPath := path.Join(framework.DefaultConfig.Ginkgo.ReportDirectory, "logs", k)
// Create a directory for the file if needed
err := os.MkdirAll(path.Dir(outPath), 0755)
if err != nil {