Skip to content

Commit

Permalink
HPCC-32700 Unittests with -v not logging to stdout/stderr
Browse files Browse the repository at this point in the history
Signed-off-by: M Kelly <[email protected]>
  • Loading branch information
mckellyln committed Sep 21, 2024
1 parent 3a769b6 commit dd3ab30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testing/unittests/unittests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,10 @@ int main(int argc, const char *argv[])
}
}
if (verbose)
{
queryStderrLogMsgHandler()->setMessageFields(MSGFIELD_trace|MSGFIELD_span|MSGFIELD_time|MSGFIELD_microTime|MSGFIELD_milliTime|MSGFIELD_thread);
attachStandardHandleLogMsgMonitor(stderr, 0);
}
else
removeLog();

Expand Down

0 comments on commit dd3ab30

Please sign in to comment.