Philipp
Philipp

Reputation: 4729

What are the different log files in WSO2 ESB?

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: enter image description here

Upvotes: 5

Views: 3353

Answers (2)

Philipp
Philipp

Reputation: 4729

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.

Upvotes: 4

Shelan Perera
Shelan Perera

Reputation: 1753

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.

Upvotes: 2

Related Questions