What are the different log files in WSO2 ESB?

冷暖自知 提交于 2019-12-01 18:17:00

问题


In WSO2 ESB I have several log files in the repository/log directory. What are the differences and which one should I use for the daily control if everything is alright?

Here the list of log files:


回答1:


Well I experienced now the following:

  • http_access_xxxx.log: Contains log of any HTTP access (in my case only the carbon admin jsp)
  • wso2carbon.log: Contains the real log output of the Application Server (most important one)
  • wso2carbon-trace-messages.log: Always empty - don't know what it is for
  • wso2-esb-error.log: Lists all WARNING and ERROR message from the wso2carbon.log again here - no INFO or DEBUG messages
  • wso2-esb-service.log: Contains all logs that have been made with the "Log" Mediator in Synapse Proxies or Sequences
  • wso2-esb-trace.log: Always empty - don't know what it is for

Well just add your monitoring on the wso2carbon.log file and you have everything essential.




回答2:


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. http_acces log contain about Apache access logs. Serivce logs have individual ESB services logs.



来源:https://stackoverflow.com/questions/13758323/what-are-the-different-log-files-in-wso2-esb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!