Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCC-30696 JTrace log output category #17973

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions system/jlib/jlog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 MCmonitorEvent(MSGAUD_monitor, MSGCLS_event, ProgressMsgThreshold);

/*
* Function to determine log level (detail) for exceptions, based on log message class
Expand Down
4 changes: 2 additions & 2 deletions system/jlib/jtrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class CSpan : public CInterfaceOf<ISpan>
{
StringBuffer out;
toLog(out);
DBGLOG("Span end: {%s}", out.str());
LOG(MCmonitorEvent, "Span end: {%s}", out.str());
}

const char * getSpanID() const
Expand Down Expand Up @@ -449,7 +449,7 @@ class CSpan : public CInterfaceOf<ISpan>

StringBuffer out;
toLog(out);
DBGLOG("Span start: {%s}", out.str());
LOG(MCmonitorEvent, "Span start: {%s}", out.str());
}

}
Expand Down