Skip to content

Rename common logging properties#18851

Merged
trask merged 14 commits into
open-telemetry:mainfrom
laurit:logging-key
Jun 12, 2026
Merged

Rename common logging properties#18851
trask merged 14 commits into
open-telemetry:mainfrom
laurit:logging-key

Conversation

@laurit

@laurit laurit commented May 26, 2026

Copy link
Copy Markdown
Contributor

Resolves #18470

logger.warning(
"The '"
+ oldDeclarativeProperty
+ "' declarative configuration is deprecated"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

don't know whether declarative config or properties were used

@laurit laurit marked this pull request as ready for review May 26, 2026 12:26
@laurit laurit requested a review from a team as a code owner May 26, 2026 12:26
Copilot AI review requested due to automatic review settings May 26, 2026 12:26
@laurit laurit closed this May 26, 2026
@laurit laurit reopened this May 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

Comment thread docs/instrumentation-list.yaml
@laurit laurit added this to the v2.29.0 milestone Jun 1, 2026
@trask

trask commented Jun 6, 2026

Copy link
Copy Markdown
Member

I sent a commit (84263f4) to follow this pattern:

logger.warning(
"The otel.instrumentation.graphql.query-sanitizer.enabled setting or equivalent"
+ " declarative configuration is deprecated and will be"
+ " removed in 3.0. Use "
+ "otel.instrumentation.graphql.query-sanitization.enabled"
+ " or equivalent declarative configuration instead.");

mainly so we don't display declarative config paths to java agent system properties users (due to the bridge we can't tell).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 2 comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 21 out of 21 changed files in this pull request and generated 2 comments.

trask added 2 commits June 7, 2026 20:31
# Conflicts:
#	instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/config/internal/CommonConfig.java
#	instrumentation/log4j/log4j-appender-2.17/library/src/main/java/io/opentelemetry/instrumentation/log4j/appender/v2_17/OpenTelemetryAppender.java
#	instrumentation/log4j/log4j-context-data/log4j-context-data-2.17/library-autoconfigure/README.md
#	instrumentation/log4j/log4j-mdc-1.2/javaagent/README.md

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated 1 comment.

@trask trask enabled auto-merge (squash) June 12, 2026 03:08
@trask trask merged commit 69e74ca into open-telemetry:main Jun 12, 2026
186 of 188 checks passed
@laurit laurit deleted the logging-key branch June 16, 2026 08:11
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.

Rename common logging properties to make it clear they configure key names

3 participants