Integration
sentry-log4j2
Java Version
21
Version
8.17.0
Steps to Reproduce
8.15.0 introduced this, versions before that did not have the logging.
- sentry.logs.enabled: false (the default)
- dependency: implementation "io.sentry:sentry-log4j2"
- log anything on a level of at least sentry.logging.minimum-level
Expected Result
No logging (just like in versions before 8.15.0).
Actual Result
"Sentry Log is disabled and this 'logger' call is a no-op." is logged each time for every log, causing massive amounts of extra logging (and associated costs). In my setup this has logged 70 million lines over the past month.