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

[GitHub] [dubbo-go] flycash commented on pull request #214: Ftr: AccessLogFilter support

It's the ACCESS_LOG_KEY, not the LOG_KEY. The difference is that the LOG_KEY is used to fetch the Logger. But the ACCESS_LOG_KEY is used to fetch the AccessLogFilter configuration from URL.
The code in Java is:
![image](https://user-images.githubusercontent.com/9923838/65419785-04192a80-de32-11e9-9323-4728a5107978.png)

![image](https://user-images.githubusercontent.com/9923838/65419838-21e68f80-de32-11e9-8c05-a26187d89d06.png)

we don't have the similar mechanism to fetch different logger. So I only need to define the ACCESS_LOG_KEY.

![image](https://user-images.githubusercontent.com/9923838/65419805-0da29280-de32-11e9-8bf6-a5b7e4108cdc.png)

![image](https://user-images.githubusercontent.com/9923838/65419820-198e5480-de32-11e9-97de-f438352342ee.png)


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