All docs
This doc
...
If you want correlation logs to be enabled every time the server starts, add the following system property to the product start-up script (stored in the <ESB_HOME>/bin/
directory) and set it to true
.
Code Block |
---|
-DenableCorrelationLogs=true \ |
Alternatively, you can pass the system property at the time of starting the server by executing the following command:
On Linux/MacOS/CentOS | sh wso2server.sh -DenableCorrelationLogs= true |
---|---|
On Windows | wso2server.bat -DenableCorrelationLogs= true |
Now when you start the ESB server, the correlation.log
file is created in the <ESB_HOME>/repository/logs/
directory.
...