dbit-xia commented on issue #10945:
URL: https://github.com/apache/apisix/issues/10945#issuecomment-1953472717
I'm using a custom plugin, outputting logs during the rewrite phase for
verification.
```
local core = require("apisix.core")
local _M = {
version = 0.1,
priority = 22000,
name = "wm-test",
schema = {
type = "object",
properties = {},
}
}
function _M.check_schema(conf)
return core.schema.check(schema, conf)
end
function _M.rewrite(conf, ctx)
core.log.error(core.json.encode(conf))
end
return _M
```
--
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]