I need to disable logging for a specific package of a 3rd party library in my Dropwizard app. I've tried this in the Dropwizard configuration file:
logging:
loggers:
org.springframework.amqp.rabbit.listener: WARN
which is documented should work but I get this error:
java.lang.IllegalArgumentException: Unsupported format of logger 'org.springframework.amqp.rabbit.listener'
Any help or thoughts greatly appreciated. Thanks.
The answer for me was to put "OFF" in quotes. Not sure why - I didn't find any documentation of this, I just tried it and it worked!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With