Logging the orchestration
Once we know how to configure the logging feature and where to find the log files, we are ready to learn how to trace our service orchestration to help us during the development stage.
There are two ways to trace our flow:
- Using the log mediator in our sequences or proxies
- Using the script mediator
Log mediator
This mediator allows you to log all kinds of information related to your service. It is the option you will use most times. This mediator is added to your sequence flow just like any other mediator, and you can find it in the Core
section when editing the sequence through the Management Console:

Alternatively, you can find it in the mediator list in the WSO2 EI Tool:

We will use the Log
configuration window from the Management Console for teaching and learning purposes since this wizard is more user-friendly than the Eclipse Property
tab.
When we add the Log
mediator, we can configure the following information:

Log Category
: This is thelog4j
category. As you may...