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
You can edit this page on GitHub.