Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Update name of trace sampled field recognized by Stackdriver Logging agent. #181

Merged
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion java/log_correlation/log4j2/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
-->
<KeyValuePair key="logging.googleapis.com/trace" value="$${ctx:traceId}"/>
<KeyValuePair key="logging.googleapis.com/spanId" value="$${ctx:spanId}"/>
<KeyValuePair key="logging.googleapis.com/traceSampled" value="$${ctx:traceSampled}"/>
<KeyValuePair key="logging.googleapis.com/trace_sampled" value="$${ctx:traceSampled}"/>
</JsonLayout>
</File>
</Appenders>
Expand Down