Skip to content

Commit 3550035

Browse files
authored
Fix typo in logging framework instrumentation readme (#10123)
1 parent 5870599 commit 3550035

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Settings for the Java Util Logging instrumentation
22

3-
| System property | Type | Default | Description |
4-
| -------------------------------------------------------------------- | ------- | ------- | --------------------------------------------------------------------------------- |
5-
| `otel.instrumentation.java-util-logging.experimental-log-attributes` | Boolean | `false` | Enable the capture of experimental span attributes `thread.name` and `thread.id`. |
3+
| System property | Type | Default | Description |
4+
| -------------------------------------------------------------------- | ------- | ------- |----------------------------------------------------------------------------------|
5+
| `otel.instrumentation.java-util-logging.experimental-log-attributes` | Boolean | `false` | Enable the capture of experimental log attributes `thread.name` and `thread.id`. |

instrumentation/log4j/log4j-appender-2.17/javaagent/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Settings for the Log4j Appender instrumentation
22

33
| System property | Type | Default | Description |
4-
| ---------------------------------------------------------------------------------- | ------- | ------- | --------------------------------------------------------------------------------------------------------------------- |
5-
| `otel.instrumentation.log4j-appender.experimental-log-attributes` | Boolean | `false` | Enable the capture of experimental span attributes `thread.name` and `thread.id`. |
4+
| ---------------------------------------------------------------------------------- | ------- | ------- |-----------------------------------------------------------------------------------------------------------------------|
5+
| `otel.instrumentation.log4j-appender.experimental-log-attributes` | Boolean | `false` | Enable the capture of experimental log attributes `thread.name` and `thread.id`. |
66
| `otel.instrumentation.log4j-appender.experimental.capture-map-message-attributes` | Boolean | `false` | Enable the capture of `MapMessage` attributes. |
77
| `otel.instrumentation.log4j-appender.experimental.capture-marker-attribute` | Boolean | `false` | Enable the capture of Log4j markers as attributes. |
88
| `otel.instrumentation.log4j-appender.experimental.capture-context-data-attributes` | String | | Comma separated list of context data attributes to capture. Use the wildcard character `*` to capture all attributes. |

instrumentation/log4j/log4j-appender-2.17/library/README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ Setting can be configured as XML attributes, for example:
9393

9494
The available settings are:
9595

96-
| XML Attribute | Type | Default | Description |
97-
|---------------------------------|---------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
98-
| `captureExperimentalAttributes` | Boolean | `false` | Enable the capture of experimental span attributes `thread.name` and `thread.id`. |
99-
| `captureMapMessageAttributes` | Boolean | `false` | Enable the capture of `MapMessage` attributes. |
100-
| `captureMarkerAttribute;` | Boolean | `false` | Enable the capture of Log4j markers as attributes. |
101-
| `captureContextDataAttributes` | String | | Comma separated list of context data attributes to capture. Use the wildcard character `*` to capture all attributes. |
102-
| `numLogsCapturedBeforeOtelInstall` | Integer | 1000 | Log telemetry is emitted after the initialization of the OpenTelemetry Log4j appender with an OpenTelemetry object. This setting allows you to modify the size of the cache used to replay the first logs. |
96+
| XML Attribute | Type | Default | Description |
97+
|------------------------------------|---------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
98+
| `captureExperimentalAttributes` | Boolean | `false` | Enable the capture of experimental log attributes `thread.name` and `thread.id`. |
99+
| `captureMapMessageAttributes` | Boolean | `false` | Enable the capture of `MapMessage` attributes. |
100+
| `captureMarkerAttribute;` | Boolean | `false` | Enable the capture of Log4j markers as attributes. |
101+
| `captureContextDataAttributes` | String | | Comma separated list of context data attributes to capture. Use the wildcard character `*` to capture all attributes. |
102+
| `numLogsCapturedBeforeOtelInstall` | Integer | 1000 | Log telemetry is emitted after the initialization of the OpenTelemetry Log4j appender with an OpenTelemetry object. This setting allows you to modify the size of the cache used to replay the first logs. |
103103

104104
[source code attributes]: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/general/attributes.md#source-code-attributes

0 commit comments

Comments
 (0)