You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "jicro (GitHub)" <gi...@apache.org> on 2019/11/19 10:09:38 UTC

[GitHub] [dubbo] jicro commented on issue #5281: Accesslog Configuration does NOT work, while metadata-report configured.

> > (4)远程DEBUG了一波,发现2.7.3里面的AccessLogFilter会从invoker的URL中取参数项“dubbo.accesslog”(通过变量AccessLogFilter.ACCESS_LOG_KEY),但是URL中根本不存在这个项,对应在URL中存在的是“accesslog”配置项。
> > 调试2.6.5版本的代码发现是通过“accesslog”(通过变量Constants.ACCESS_LOG_KEY)的配置项获取对应的值。
> 
> 在 2.7.3 中 AccessLogFilter 中的 ACCESS_LOG_KEY 定义和 org.apache.dubbo.rpc.Constants.ACCESS_LOG_KEY 存在重复, 导致了以上问题。我发现在 2.7.4.1 中被修复了

非常感谢,经测已经可以正常使用了。

[ Full content available at: https://github.com/apache/dubbo/issues/5281 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org