Viewing log messages in the log viewer
You can view log messages for your integrations in the built-in log viewer in App Connect.
About this task
The App Connect log viewer shows information, error, and audit
messages for your flows, integration runtimes, and App Connect
instance. The log viewer shows a maximum of 500 messages and you can view logged messages for events
that occurred in the last 30 days.
Tip: If you filter messages (for example, to show
messages for a particular runtime), you can see 500 messages for that runtime.
The following data is available by default for your App Connect
Enterprise as a Service
instance and the event-driven and API flows that you create in App Connect Designer.
- An error message is emitted when an event, action, or some flow logic failed.
- An information message is emitted at key points, such as when a flow is triggered, or when it completes successfully.
- An audit message is emitted when a user completes an operation in App Connect and when changes are made to your service instance. (For more information, see Viewing audit information.)
- Default logging versus user and service trace
- The default log messages are the least verbose form of logging. If you want more verbose information, you can enable user trace for your flows. If you're working with the Support team to debug an issue, they might ask you to enable service trace, which is the most verbose form of logging. User and service trace are disabled by default because they can affect performance. For more information, see Collecting trace for deployed flows.
- The App Connect Designer Log node
- You can enhance logging by adding a Log node to your event-driven and API flows from the Toolbox in App Connect Designer. Use the Log node to define your own custom messages and custom fields for specific content that you want to log. You can then view this customized information in the log viewer. For more information, see Enhancing logging with customized log messages.
- The IBM App Connect Enterprise Toolkit Log node
- You can also add a Log node to a flow that you create in the IBM App Connect Enterprise
Toolkit. When you deploy a Toolkit flow to App Connect
Enterprise as a Service, you can view the output from the Log node by adding a
server.conf.yamlconfiguration during deployment. For more information, see Viewing output from the App Connect Enterprise Toolkit Log node.
Viewing log messages in App Connect Enterprise as a Service
Procedure
What to do next
Viewing output from the App Connect Enterprise Toolkit Log node
About this task
When you create an integration in the App Connect Enterprise Toolkit, you can add a Log node, which writes error, information, and debug messages to the Activity Log. When you deploy that integration to App Connect Enterprise as a Service, you must add a configuration so that you can see the output from the Log node in the Logs view.
The following steps describe how to configure logging when you deploy a Toolkit flow that contains a Log node to App Connect Enterprise as a Service. The instructions assume that you already packaged your message flow as a BAR file and imported it to App Connect Enterprise as a Service.
.

next to the date
range.
on the log viewer toolbar, then select the runtime, integration, event type,
or transaction ID that you're interested in.
.
on the log viewer toolbar.
.
and click