Skip to content

Commit

Permalink
Renaming: captureLogbackMarkerAttribute => captureLogbackMarker, capt…
Browse files Browse the repository at this point in the history
…ureLog4jMarkerAttribute => captureLog4jMarker
  • Loading branch information
jeanbisutti committed Oct 17, 2022
1 parent 2773c88 commit 15ba360
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,9 @@ public static class PreviewConfiguration {

public boolean captureLogbackCodeAttributes;

public boolean captureLogbackMarkerAttribute;
public boolean captureLogbackMarker;

public boolean captureLog4jMarkerAttribute;
public boolean captureLog4jMarker;

// this is to support interoperability with other systems
// intentionally not allowing the removal of w3c propagator since that is key to many Azure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,11 @@ private static void enableInstrumentations(Configuration config, Map<String, Str
properties.put(
"otel.instrumentation.logback-appender.experimental.capture-code-attributes", "true");
}
if (config.preview.captureLogbackMarkerAttribute) {
if (config.preview.captureLogbackMarker) {
properties.put(
"otel.instrumentation.logback-appender.experimental.capture-marker-attribute", "true");
}
if (config.preview.captureLog4jMarkerAttribute) {
if (config.preview.captureLog4jMarker) {
properties.put(
"otel.instrumentation.log4j-appender.experimental.capture-marker-attribute", "true");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
}
},
"preview": {
"captureLog4jMarkerAttribute": true
"captureLog4jMarker": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"preview": {
"captureLogbackCodeAttributes": true,
"captureLogbackMarkerAttribute": true
"captureLogbackMarker": true
}
}

0 comments on commit 15ba360

Please sign in to comment.