klzami opened a new issue #8108: URL: https://github.com/apache/dubbo/issues/8108
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. - [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.0.0 * Operating System version: Mac OS Big Sur 11.4 * Java version: 1.8 ### Steps to reproduce this issue 1. 克隆dubbo代码,检出3.0版本的tag; 2. 修改demo工程,制造1个rest协议报错的case; 3. 启动demo工程 /dubbo-demo/dubbo-demo-xml/dubbo-demo-xml-provider; 4. 观察控制台日志,发现有部分错误日志被打印到了StdError,截图如下:  ### Expected Result 将错误日志桥接到Dubbo自己的日志系统,而非打印到StdError。 ### Actual Result 错误日志打印到了StdError,导致基于Dubbo日志做的收集和其它扩展失效。 关键代码: 1. 类文件: ``org.apache.dubbo.remoting.http.jetty.JettyHttpServer``; 2. 代码位置:第33行 ``Log.setLog(new StdErrLog());``。 -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
