Skip to content

Fix stale type reference for OTLP logging transport metadata#51119

Merged
snicoll merged 1 commit into
spring-projects:4.1.xfrom
wantaekchoi:fix/otlp-logging-transport-metadata-type
Jul 25, 2026
Merged

Fix stale type reference for OTLP logging transport metadata#51119
snicoll merged 1 commit into
spring-projects:4.1.xfrom
wantaekchoi:fix/otlp-logging-transport-metadata-type

Conversation

@wantaekchoi

Copy link
Copy Markdown
Contributor

The metadata for the deprecated management.otlp.logging.transport property declares:

"type": "org.springframework.boot.opentelemetry.actuate.autoconfigure.logging.Transport",

That class does not exist. The Transport enum lives in org.springframework.boot.opentelemetry.autoconfigure.logging.otlp, which is also the package the sibling management.otlp.logging.compression entry already uses.

#50375 corrected this reference on 4.0.x, but the fix did not carry over to 4.1.x, so 4.1.x and main still have the stale value.

This updates the type to the actual class, matching what 4.0.x already has.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 24, 2026
@snicoll snicoll added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Jul 24, 2026
@snicoll snicoll added this to the 4.1.x milestone Jul 24, 2026
@snicoll
snicoll force-pushed the fix/otlp-logging-transport-metadata-type branch from 11e77c9 to 5ebd999 Compare July 25, 2026 15:25
@snicoll snicoll modified the milestones: 4.1.x, 4.1.1 Jul 25, 2026
@snicoll
snicoll merged commit db7b8a1 into spring-projects:4.1.x Jul 25, 2026
3 checks passed
@wantaekchoi
wantaekchoi deleted the fix/otlp-logging-transport-metadata-type branch July 25, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: documentation A documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants