Suppress java util logging from 3rd party jar

前端 未结 3 1975
天命终不由人
天命终不由人 2021-01-16 21:38

I am getting tons of info log messages from a 3rd party jar in my eclipse console. Cracking open the jar I see that it uses java.util.logging. I would like to set the outpu

3条回答
  •  暖寄归人
    2021-01-16 21:50

    Before decompile the jar to find how to set Log level you can try to search the setLogLevel api for which component you want debug more.

    setLogWriter(new PrintWriter(System.out));

提交回复
热议问题