You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/09/14 02:02:21 UTC

[GitHub] [dolphinscheduler] ououtt opened a new issue #6196: [Bug] [master] console print debug level log when master-logback.xml level is info

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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #6196: [Bug] [spi] console print debug level log when master-logback.xml level is info

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #6196:
URL: https://github.com/apache/dolphinscheduler/issues/6196#issuecomment-979526605


   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #6196: [Bug] [spi] console print debug level log when master-logback.xml level is info

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #6196:
URL: https://github.com/apache/dolphinscheduler/issues/6196#issuecomment-985922866


   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] closed issue #6196: [Bug] [spi] console print debug level log when master-logback.xml level is info

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #6196:
URL: https://github.com/apache/dolphinscheduler/issues/6196


   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org