Skip to content

Commit

Permalink
Adsk contrib - Issue with latest ociocheck (#1715)
Browse files Browse the repository at this point in the history
* Missing logs from config::validate.

Signed-off-by: Cédrik Fuoco <[email protected]>

* Moving log guard ouput before the checks for errors level logs.

Signed-off-by: Cédrik Fuoco <[email protected]>

Signed-off-by: Cédrik Fuoco <[email protected]>
Co-authored-by: Doug Walker <[email protected]>
  • Loading branch information
cedrik-fuoco-adsk and doug-walker authored Oct 31, 2022
1 parent 1e6b01c commit 4f4e522
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/apps/ociocheck/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -517,7 +519,6 @@ int main(int argc, const char **argv)
}
else
{
std::cout << logGuard.output();
std::cout << "failed" << std::endl;
errorcount += 1;
}
Expand Down

0 comments on commit 4f4e522

Please sign in to comment.