Skip to content

Conversation

@zeitlinger
Copy link
Member

No description provided.

@zeitlinger zeitlinger self-assigned this Nov 29, 2024
@zeitlinger zeitlinger requested a review from a team as a code owner November 29, 2024 15:57
@github-actions github-actions bot added the test native This label can be applied to PRs to trigger them to run native tests label Nov 29, 2024
"name": "otel.instrumentation.logback-appender.experimental.capture-mdc-attributes",
"type": "java.util.List<java.lang.String>",
"description": "MDC attributes to capture. Use the wildcard character <code>*</code> to capture all attributes."
"type": "java.lang.String",
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Not sure what you mean.

From what I observe, @Value does not seem to work in LogbackAppenderApplicationListener.

org.springframework.boot.context.logging.LoggingApplicationListener does not use @Value .

@zeitlinger
Copy link
Member Author

@jeanbisutti please review

Copy link
Member

@jeanbisutti jeanbisutti left a comment

Choose a reason for hiding this comment

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

To help make the release note, could you please list the added properties in the description?

Are we sure that all the added properties are working? Perhaps it may be worth adding automatic tests.

"name": "otel.instrumentation.logback-appender.experimental.capture-mdc-attributes",
"type": "java.util.List<java.lang.String>",
"description": "MDC attributes to capture. Use the wildcard character <code>*</code> to capture all attributes."
"type": "java.lang.String",
Copy link
Member

Choose a reason for hiding this comment

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

Not sure what you mean.

From what I observe, @Value does not seem to work in LogbackAppenderApplicationListener.

org.springframework.boot.context.logging.LoggingApplicationListener does not use @Value .

@zeitlinger zeitlinger added this to the v2.11.0 milestone Dec 12, 2024
@zeitlinger
Copy link
Member Author

Perhaps it may be worth adding automatic tests.

done

@laurit
Copy link
Contributor

laurit commented Dec 12, 2024

@zeitlinger could you elaborate what this change is about. Did these list properties work at all previously or did the work in some different way? If the worked in some different way is this change backwards compatible?

@zeitlinger
Copy link
Member Author

Did these list properties work at all previously or did the work in some different way?

Old:

prop: a,b

New:

prop: a,b

OR

prop: [a,b]

If the worked in some different way is this change backwards compatible?

yes

@laurit laurit merged commit 61b8f72 into open-telemetry:main Dec 12, 2024
56 checks passed
@zeitlinger zeitlinger deleted the list-properties branch January 13, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test native This label can be applied to PRs to trigger them to run native tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants