tzssangglass commented on code in PR #6960: URL: https://github.com/apache/apisix/pull/6960#discussion_r869892506
########## apisix/stream/xrpc/runner.lua: ########## @@ -71,9 +79,58 @@ local function put_req_ctx(session, ctx) end +local function filter_logger(ctx, logger) + if not logger then + return false + end + + if not logger.filter or #logger.filter == 0 then + -- no valid filter, default execution plugin + return true + end + + -- key and version are divided by per-logger level + local key = "xrpc-logger" .. ctx.conf_id Review Comment: update -- 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]
