简体   繁体   English

WSO2 ESB中有哪些不同的日志文件?

[英]What are the different log files in WSO2 ESB?

In WSO2 ESB I have several log files in the repository/log directory. 在WSO2 ESB中,我在repository / log目录中有几个日志文件。 What are the differences and which one should I use for the daily control if everything is alright? 有什么区别,如果一切正常,我应该用哪一个来进行日常控制?

Here the list of log files: 这里是日志文件列表: 在此输入图像描述

Well I experienced now the following: 那么我现在经历了以下几点:

  • http_access_xxxx.log : Contains log of any HTTP access (in my case only the carbon admin jsp) http_access_xxxx.log :包含任何HTTP访问的日志(在我的例子中只有碳管理员jsp)
  • wso2carbon.log : Contains the real log output of the Application Server (most important one) wso2carbon.log :包含Application Server的实际日志输出(最重要的一个)
  • wso2carbon-trace-messages.log : Always empty - don't know what it is for wso2carbon-trace-messages.log :总是空的 - 不知道它是什么
  • wso2-esb-error.log : Lists all WARNING and ERROR message from the wso2carbon.log again here - no INFO or DEBUG messages wso2-esb-error.log :在此处再次列出来自wso2carbon.log的所有WARNING和ERROR消息 - 没有INFO或DEBUG消息
  • wso2-esb-service.log : Contains all logs that have been made with the "Log" Mediator in Synapse Proxies or Sequences wso2-esb-service.log :包含使用Synapse Proxies或Sequences中的“Log”Mediator创建的所有日志
  • wso2-esb-trace.log : Always empty - don't know what it is for wso2-esb-trace.log :总是空的 - 不知道它是什么

Well just add your monitoring on the wso2carbon.log file and you have everything essential. 那么只需在wso2carbon.log文件中添加您的监控,您就拥有了所有必需的功能。

WSO2carbon.log contains most of the logs about the server (service logs , error logs etc.) You can use it as the main log for maintaining. WSO2carbon.log包含有关服务器的大部分日志(服务日志,错误日志等)。您可以将其用作维护的主日志。 http_acces log contain about Apache access logs. http_acces日志包含有关Apache访问日志的信息。 Serivce logs have individual ESB services logs. Serivce日志具有单独的ESB服务日志。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM