Sentry + Tomcat integration

Hello,

I’m having similar issues as the ones reported in Tomcat8 - raven-JUL, all is logged, why?

I’m using sentry + JUL + Tomcat, with my logging.properties file being pretty simple:

handlers = java.util.logging.FileHandler,java.util.logging.ConsoleHandler

# Default global logging level.
# Loggers and Handlers may override this level
.level = INFO

#Format
java.util.logging.SimpleFormatter.format = %1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$-8s --- %2$-100s : %5$s%6$s%n

# Handlers
# -----------------------------------------

# --- ConsoleHandler ---
# Override of global logging level
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

# --- FileHandler ---
java.util.logging.FileHandler.level = FINE
java.util.logging.FileHandler.pattern = ${catalina.base}/logs/application.%g.log
java.util.logging.FileHandler.limit = 50000
java.util.logging.FileHandler.count = 1
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter

io.sentry.jul.SentryHandler.level = SEVERE

However it doesn’t restrict the level of logs sent to Sentry (which also means that my account has entered a grace period).

Do you have any idea on how to solve this?

Cheers!

Sébastien