Skip to content

Conversation

nosan
Copy link
Contributor

@nosan nosan commented Oct 21, 2024

@nosan nosan changed the title Introduce a property to enable or disable logging for each exporter. Introduce a property to enable or disable logging for each exporter Oct 21, 2024
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 21, 2024
@nosan nosan force-pushed the 42781 branch 2 times, most recently from 8bf246c to 6280ef8 Compare October 21, 2024 16:44
This property provides more fine-grained control over log export:
- management.otlp.logging.export.enabled

By default, it is set to null, but if defined,
it takes precedence over the global management.logging.export.enabled property
@mhalbritter mhalbritter self-assigned this Oct 22, 2024
@mhalbritter mhalbritter changed the title Introduce a property to enable or disable logging for each exporter Add property to control export of OTLP logs Oct 22, 2024
@mhalbritter mhalbritter added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 22, 2024
@mhalbritter mhalbritter added this to the 3.4.x milestone Oct 22, 2024
mhalbritter pushed a commit that referenced this pull request Oct 22, 2024
This property provides more fine-grained control over log export:

- management.otlp.logging.export.enabled

By default, it is set to null, but if defined,
it takes precedence over the global management.logging.export.enabled
property

See gh-42813
mhalbritter added a commit that referenced this pull request Oct 22, 2024
@mhalbritter
Copy link
Contributor

Thanks @nosan !

@andrzej-man
Copy link

Thanks!

@nosan
Copy link
Contributor Author

nosan commented Oct 22, 2024

Thanks @mhalbritter

the funny thing is that I initially put an annotation on Exporters and then for some reason moved to Autoconfiguration
By the way, thanks for the polishing.

@philwebb philwebb modified the milestones: 3.4.x, 3.4.0-RC1 Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants