Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow enabling the extension using quarkus.log.sentry.enabled key #254

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rmanibus
Copy link

@rmanibus rmanibus commented Nov 4, 2024

fix #253

* Determine whether to enable the Sentry logging extension.
*/
@ConfigItem
public Optional<Boolean> enabled;
Copy link
Member

Choose a reason for hiding this comment

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

FWIW I think it makes sense to avoid this ~ YAML trick. It causes all sorts of issues.

Ideally, I think it should be active though if we want to follow the convention we use in the core. enabled is for enabling/disabling the extension at build time. active is for activating/deactivating the behavior at runtime. I think it's more the latter in this case, right?

@ia3andy WDYT?

If we include this one, could you mark the old one as deprecated so that the doc is not confusing?

Copy link
Contributor

Choose a reason for hiding this comment

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

@rmanibus could you rename to active and add deprecated to the other config?

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.

enable using quarkus.log.sentry.enabled property
3 participants