Skip to content

Fix span logs and tags while logging with level ERROR#328

Open
xbj110825 wants to merge 2 commits intoopentracing-contrib:masterfrom
xbj110825:master
Open

Fix span logs and tags while logging with level ERROR#328
xbj110825 wants to merge 2 commits intoopentracing-contrib:masterfrom
xbj110825:master

Conversation

@xbj110825
Copy link

While using SpanLogsAppender, we found that while logging with level ERROR, the span log event's value is something like io.opentracing.tag.BooleanTag@7251412f. So i search the behavior of other components(e.g. io.opentracing.contrib.jdbc.JdbcTracingUtils.onError), and found that we should log Tag.ERROR.getKey() instead of Tag.ERROR, and tag error.

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.

1 participant