ououtt opened a new issue #6196:
URL: https://github.com/apache/dolphinscheduler/issues/6196


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   
![image](https://user-images.githubusercontent.com/20450037/133181569-4fb0e959-2124-4a2a-a0d6-e87c78e568f0.png)
   
   
![image](https://user-images.githubusercontent.com/20450037/133181626-16233e23-cbba-47b3-8300-99ac7b28e69d.png)
   
   console print debug level log when master-logback.xml level is info
   
   
   master-logback.xml配置级别为info时, 控制台打印了debug级别的日志
   
   ### What you expected to happen
   
   console log level should match master-logback.xml level
   
   
   控制台日志级别应该和配置文件匹配
   
   ### How to reproduce
   
   checkout dev branch and run
   
   ### Anything else
   
   I found that the SPI feature uses the dolphinPluginclassLoader to load SPI 
classes, resulting in the log class being loaded twice. Should it be add 
`org.slf4j.` to 
org.apache.dolphinscheduler.spi.plugin.DolphinPluginLoader#DOLPHIN_SPI_PACKAGES 
collection?
   
![image](https://user-images.githubusercontent.com/20450037/133182362-b17be10e-9ea1-4c41-b6eb-b7082aa58d31.png)
   
   
我发现是spi特性使用了DolphinPluginClassLoader来加载spi的类,导致日志类被加载了两遍.是不是应该在org.apache.dolphinscheduler.spi.plugin.DolphinPluginLoader#DOLPHIN_SPI_PACKAGES
 中加上 org.slf4j.
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to