From 9f20adc8190e9e68f293acd5ab64b1275df1201e Mon Sep 17 00:00:00 2001 From: Gavin Halliday Date: Tue, 26 Sep 2023 17:38:27 +0100 Subject: [PATCH] Use traceLevel to also set the default detail level Signed-off-by: Gavin Halliday --- roxie/ccd/ccdmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roxie/ccd/ccdmain.cpp b/roxie/ccd/ccdmain.cpp index a93248ac4ea..325e61edcc9 100644 --- a/roxie/ccd/ccdmain.cpp +++ b/roxie/ccd/ccdmain.cpp @@ -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