Reputation: 941
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.
Upvotes: 7
Views: 2180
Reputation: 941
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!
Upvotes: 10