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

Add thread name to log capture #1790

Merged
merged 3 commits into from
Jul 7, 2021
Merged

Conversation

trask
Copy link
Member

@trask trask commented Jul 3, 2021

Resolves #1699

@@ -407,6 +410,9 @@ private static void setLoggerProperties(MonitorDomain data, String level, String
if (loggerName != null) {
TelemetryUtil.getProperties(data).put("LoggerName", loggerName);
}
if (threadName != null) {
TelemetryUtil.getProperties(data).put("ThreadName", loggerName);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be threadName

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😱 👍

@trask trask merged commit 48b7ace into main Jul 7, 2021
@trask trask deleted the trask/add-thread-name-to-log-capture branch July 7, 2021 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Capture thread name for instrumented logs.
2 participants