This blog post explains how to log the messages come into and sent out from WSO2 BPS server.
This feature is extensively used in BPEL development to figure out the problems in the message sequences and in latency analysis during BPEL process invocations.
Tested Environment
Instructions
This feature is extensively used in BPEL development to figure out the problems in the message sequences and in latency analysis during BPEL process invocations.
Tested Environment
Instructions
- Add the following entries to the $CARBON-HOME/lib/log4j.properties
log4j.logger.org.apache.ode.bpel.messagetrace=TRACE
log4j.logger.org.wso2.carbon.bpel.messagetrace=TRACE - Then the preferred log4j appender should be configured such that it has a threshold of TRACE level. If CARBON_LOGFILE is the log4j appender, it should be changed as follows. By default this is set to DEBUG.
eg - log4j.appender.CARBON_LOGFILE.threshold=TRACE - Then re-start the WSO2 BPS server.
- The log files can be found as $CARBON-HOME/repository/logs/wso2carbon.log
1 comment:
So How would log a message inside a BPEL ?
Post a Comment