How does logback remove the annoying info log of dubbomonitor


Logback removes the info log of dubbomonitor

1. Set Dubbo log from slf4j print

Method 1: settingsjvmparameter


Method 2: code settings


2. Logback controls the Dubbo log output level

<logger name="" additivity="true" level="ERROR" />

3. Step 1 can be changed to the initial bean setting

public class InitService implements InitializingBean {    
    public void afterPropertiesSet() throws Exception {  

Logback close the debug log of zookeeper

Add under this node

<logger name="org.apache.zookeeper.ClientCnxn" level="info" />  

nameIs the package name

levelLog level

The above is my personal experience. I hope I can give you a reference, and I hope you can support developpaer.