diff --git a/system/jlib/jlog.hpp b/system/jlib/jlog.hpp index 9686e21feca..d8d7edc8e9d 100644 --- a/system/jlib/jlog.hpp +++ b/system/jlib/jlog.hpp @@ -836,6 +836,7 @@ constexpr LogMsgCategory MCdebugInfo(MSGAUD_programmer, MSGCLS_information, Debu constexpr LogMsgCategory MCauditInfo(MSGAUD_audit, MSGCLS_information, AudMsgThreshold); constexpr LogMsgCategory MCoperatorInfo(MSGAUD_operator, MSGCLS_information, InfoMsgThreshold); constexpr LogMsgCategory MCoperatorMetric(MSGAUD_operator, MSGCLS_metric, ErrMsgThreshold); +constexpr LogMsgCategory MCoperatorTrace(MSGAUD_monitor, MSGCLS_event, ProgressMsgThreshold); /* * Function to determine log level (detail) for exceptions, based on log message class diff --git a/system/jlib/jtrace.cpp b/system/jlib/jtrace.cpp index 401702d8a63..e01ae95aaee 100644 --- a/system/jlib/jtrace.cpp +++ b/system/jlib/jtrace.cpp @@ -163,7 +163,7 @@ class CSpan : public CInterfaceOf { StringBuffer out; toLog(out); - DBGLOG("Span end: {%s}", out.str()); + LOG(MCoperatorTrace, "Span end: {%s}", out.str()); } const char * getSpanID() const @@ -449,7 +449,7 @@ class CSpan : public CInterfaceOf StringBuffer out; toLog(out); - DBGLOG("Span start: {%s}", out.str()); + LOG(MCoperatorTrace, "Span start: {%s}", out.str()); } }