Cloud Pak for Integration

Cloud Pak for Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Enabling logging and viewing transaction data for CP4I components

  • 1.  Enabling logging and viewing transaction data for CP4I components

    Posted Thu November 11, 2021 07:08 AM
    Hi,

    I have a requirement to enable business transaction logging (in case of ACE, need to log all the input, output and other intermediate messages) in CP4I cluster.
    I have installed Elastic Search and RedHat Cluster logging operator, using Kibana I can see pod level logs but not able to see the incoming/outgoing messages for any of the ACE Applications. What is the recommended way to enable the transaction logs?

    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------


  • 2.  RE: Enabling logging and viewing transaction data for CP4I components

    Posted Wed November 24, 2021 03:35 AM
    Hi Santhosh, 

    You need to leverage the java system/print-stream class to view as part of POD/Kibana logs. Below is the implementation I have done and it works as expected. 

    1. Prepare the payload which you want to view as part of pod log.
    2. Create and Call ESQL procedure to pass the payload which is to be logged. 


    3. Create a Java class to write log in to pod.



    ------------------------------
    vivek sekar
    ------------------------------