Sn0rt opened a new issue, #9746:
URL: https://github.com/apache/apisix/issues/9746
### Description
file `t/plugin/skywalking-logger.t`
```lua
add_block_preprocessor(sub {
my ($block) = @_;
my $http_config = $block->http_config // <<_EOC_;
server {
listen 1986;
server_tokens off;
location /v3/logs {
content_by_lua_block {
local core = require("apisix.core")
core.log.warn(core.json.encode(core.request.get_body(),
true))
}
}
}
_EOC_
```
--
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]