WSO2 API Manager 4.1.0和Apictl

发布于 2025-01-31 09:05:13 字数 489 浏览 3 评论 0原文

我使用Docker Image构建了WSO2 API Manager 4.1.0。我需要登录JSON格式。 然后从此URL安装apictl。 docker WSO2 API管理器容器。 我可以添加环境并成功登录。然后,我可以看到并更改下面的API日志类型。

/apictl获取API -Logging -E开发

API_ID                                 API_CONTEXT                 LOG_LEVEL
77bcdc16-8091-4785-....-...           /Service1/v1                   FULL
8eb0b33e-98c3-4a9d-....-....          /Service2.asmx/1.0             OFF

,但是API.log中没有任何日志记录。我怎么能看到API JSON日志?

谢谢

I built wso2 api manager 4.1.0 with docker image. I need to api logs json format.
Then installed apictl from this url "https://apim.docs.wso2.com/en/latest/install-and-setup/setup/api-controller/getting-started-with-wso2-api-controller/" and deployed to docker wso2 api manager container.
I could add environment and successfully login. Then i could see and change api log type as below.

./apictl get api-logging -e development

API_ID                                 API_CONTEXT                 LOG_LEVEL
77bcdc16-8091-4785-....-...           /Service1/v1                   FULL
8eb0b33e-98c3-4a9d-....-....          /Service2.asmx/1.0             OFF

But there's not any log record in api.log. How can i see api json logs ?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文