Skip to content

Commit

Permalink
Use traceLevel to also set the default detail level
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday committed Sep 26, 2023
1 parent 919059f commit 9f20adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roxie/ccd/ccdmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ int CCD_API roxie_main(int argc, const char *argv[], const char * defaultYaml)
directoryTree.clear();

// Tracing feature flags
TraceFlags traceLevelFlag = traceLevel ? TraceFlags::Standard : TraceFlags::None;
TraceFlags traceLevelFlag = (traceLevel > 1) ? TraceFlags::Detailed : ((traceLevel == 1) ? TraceFlags::Standard : TraceFlags::None);
updateTraceFlags(loadTraceFlags(topology, roxieTraceOptions, traceLevelFlag | traceRoxieActiveQueries), true);

//Logging stuff
Expand Down

0 comments on commit 9f20adc

Please sign in to comment.