![](/img/trans.png)
[英]Is it possible to bind api consumers to certain ip address so that they can invoke an api their own ip address in wso2 apim 4.0.0?
[英]WSO2 logging remot IP address in audit.log
有谁知道是否可以登录WSO2的audit.log用户的 IP 地址? 我必须在 repository/conf/log4j2.properties 中配置什么格式? 它在 http_access*.log 中工作得很好,但我无法在 audit.log 中设置它
尝试将以下内容添加到deployment.toml
[audit.log.contextual_param]
params = ["remote_address"]
除了remote_address
,您还可以添加user_agent
作为参数或同时添加两者。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.