用户登录
用户注册

分享至

在哪里检查 wso2 carbon 中的自定义 Web 应用程序日志

  • 作者: LandRover3
  • 来源: 51数据库
  • 2022-11-01

问题描述

这里需要帮助..我开发了一个 java 应用程序并使用 log4j 配置了日志.我已经在 wso2 carbon 中部署了这个应用程序.谁能告诉我在哪里可以检查我在 wso2 carbon 中的应用程序日志?我只能看到碳日志 wso2carbon.log ..我在哪里可以查看我的应用程序特定日志??

Need help here.. I have developed a java application and configured logs using log4j. I have deployed this application in wso2 carbon. Can anyone tell me where to check my application logs in wso2 carbon?? I can see only carbon logs wso2carbon.log.. Where can i check my application specific logs??

推荐答案

如果您的 webapp 中有自己的 log4j.properties 文件,您可以在其中配置位置.

If you have your own log4j.properties file in your webapp, you can configure the location in it.

更多详情请参见此处.

https://docs.wso2.com/display/AS530/Customize+Logging+for+Web+Applications

软件
前端设计
程序设计
Java相关