jagerzhang edited a comment on issue #5910:
URL: https://github.com/apache/apisix/issues/5910#issuecomment-1000699400
> You can customize the `log_format`field in plugin metadata according to
your needs.
试了下没生效,配置如下:
···
{
"batch_max_size": 1,
"broker_list": {
"X.X.X.X": 9092
},
"disable": false,
"include_req_body": true,
"include_resp_body": true,
"kafka_topic": "ngate_prod",
"log_format": {
"apisix_latency": "$apisix_latency",
"upstream_latency": "$upstream_latency"
},
"max_retry_count": 3
}
···
求指引~
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]