|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (10)
View Page Historyh1.
The project petals-commons provides classes for each type of trace:
The Petals Component Development Framework (petals-cdk-core) provides classes for each type of trace in the package {{org.ow2.petals.component.framework.logger}}:
* {{ConsumeFlowStepBeginLogData}}
* ProvideExtFlowStepBeginLogData {{ConsumeFlowStepEndLogData}}
* ProvideFlowStepBeginLogData {{ConsumeFlowStepFailureLogData}}
* ProvideFlowStepEndLogData {{ProvideExtFlowStepBeginLogData}}
* {{ProvideExtFlowStepEndLogData}}
* {{ProvideFlowStepBeginLogData}}
* {{ProvideFlowStepEndLogData}}
* {{ProvideFlowStepFailureLogData}}
* {{ProvideFlowStepBeginLogData}}
* {{ProvideFlowStepEndLogData}}
* {{ProvideFlowStepFailureLogData}}
To add extra parameter to a LogData, like requestedurl in petals-bc-soap, the developer must extends the associated class and uses putData(String, Object) method.
How to add a monitoring trace:
{code}
logger.log(Level.MONIT, "", new SoapConsumeFlowStepBeginLogData(...);{code}
{info}
The message part have to be empty.
The message part have to be empty.
{info}
The trace ProvideFlowStepBeginLogData and ProvideFlowStepEndLogData are defined at CDK level. So if the CDK is a dependency of the component, no extra development are needed.
The trace ProvideFlowStepBeginLogData and ProvideFlowStepEndLogData are defined at CDK level. So if the CDK is a dependency of the component, no extra development are needed.
{info}If the send of response message is not delegate to the CDK, developper have to manually set the trace ProvideFlowStepEndLogData.