Collecting trace for deployed flows
You can collect user and service trace to troubleshoot issues with deployed flows in IBM® App Connect Enterprise as a Service.
About this task
- User trace
- Enable user trace to debug your deployed solutions. User trace is less verbose than service trace.
- Service trace
- Service trace provides more comprehensive (verbose) tracing. Because service trace affects performance, enable it only if indicated by an error message or when you're directed to do so by IBM Support.
Trace is not enabled by default. You can download trace at any time; you don't need to stop tracing first. Trace information is downloaded as a .zip file. A formatted log file contains a sequence of timestamped messages that record the activity in the deployed flow. When you reset trace, any user trace data that is already written to trace log files is deleted. You can reset trace for a running trace, and tracing resumes automatically after you reset it. You can start, stop, download, and reset trace for deployed flows that you created in both the IBM App Connect Enterprise Toolkit and App Connect Designer.
If you're on the flow runs plan, you don't create an integration runtime to deploy your flows. You can collect trace by completing the steps in Starting trace for a deployed flow.
Starting trace for a deployed integration runtime
You can start, stop, reset, and download user and service trace from the menu of an integration runtime tile in the App Connect Dashboard. The runtime tile shows when trace is enabled.
About this task
Procedure
The following steps describe how to collect user and service trace for a deployed integration runtime.
Starting trace when the integration runtime starts
If you want to start trace when an integration runtime starts, you can create the
integration runtime with a server.conf.yaml
configuration, which defines user and
service trace settings.
About this task
Procedure
To start user or service trace when an integration runtime starts, complete the following steps.
Starting trace for a deployed flow
You can start, stop, reset, and download user and service trace from the menu of a deployed flow on the Manage tab. The tile shows when trace is enabled.
About this task
Procedure
The following steps describe how to collect user and service trace for a deployed flow or BAR file.