When you need to tell Logback to stop logging for a logger, the following snippet can be added to
logback.xml configuration file:
<logger name="loggerName"> <level value="off" /> </logger>
"loggerName" represents your logger name that will be stopped. If you use fully-qualified package name, all of logs coming from that package will be stopped.