From 4f4e52257da2d9b2f7a267ec4fe2c4aeee31e176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9drik=20Fuoco?= <105517825+cedrik-fuoco-adsk@users.noreply.github.com> Date: Mon, 31 Oct 2022 15:43:12 -0400 Subject: [PATCH] Adsk contrib - Issue with latest ociocheck (#1715) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Missing logs from config::validate. Signed-off-by: Cédrik Fuoco * Moving log guard ouput before the checks for errors level logs. Signed-off-by: Cédrik Fuoco Signed-off-by: Cédrik Fuoco Co-authored-by: Doug Walker --- src/apps/ociocheck/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/ociocheck/main.cpp b/src/apps/ociocheck/main.cpp index f9b323265f..c4298e1eaf 100644 --- a/src/apps/ociocheck/main.cpp +++ b/src/apps/ociocheck/main.cpp @@ -506,6 +506,8 @@ int main(int argc, const char **argv) LogGuard logGuard; config->validate(); + std::cout << logGuard.output(); + cacheID = config->getCacheID(); isArchivable = config->isArchivable(); @@ -517,7 +519,6 @@ int main(int argc, const char **argv) } else { - std::cout << logGuard.output(); std::cout << "failed" << std::endl; errorcount += 1; }