Configuration Example
Configuration options common to all Java integrations like environment
and release
can be configured through environment variables, system properties or sentry.properties
file. See the configuration page for an in-depth explanation of each property.
Configuration options specific to java.util.logging
integration can be configured in logging.properties
file:
Copied
io.sentry.jul.SentryHandler.level=CONFIG
io.sentry.jul.SentryHandler.minimumEventLevel=INFO
io.sentry.jul.SentryHandler.minimumBreadcrumbLevel=CONFIG
io.sentry.jul.SentryHandler.printfStyle=true
- Package:
- maven:io.sentry:sentry-jul
- Version:
- 7.13.0
- Repository:
- https://github.com/getsentry/sentry-java