BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

Β View Only
  • 1.  Custom Logging Documentation for IBM BAW Containerised Environment

    Posted 20 days ago

    I found below article for custom logging which is now built-in feature of IBM BAW latest version but this article is pertaining to the traditional IBM BAW (not for Containerised IBM BAW).

    https://www.ibm.com/docs/en/baw/26.0.x?topic=mp-enabling-application-specific-logging-in-process-designer 

    Someone please guide me with the article or documentation for built-in custom logging feature of latest IBM BAW for containerised environment.

    What kind of information I am looking for in the article is, how to enable and configure custom logging as by default this is not enabled, how to set the folder location for each process app to print it's own custom logging, roller and log size and count of logs to retain; how to configure these settings in containerized environment of IBM BAW.

    Regards,

    Muhammad Haris Khan 

    BPM Specialist 

    Doha, Qatar 



    ------------------------------
    Muhammad Haris Khan
    ------------------------------


  • 2.  RE: Custom Logging Documentation for IBM BAW Containerised Environment

    Posted 19 days ago
    Edited by Claudia Zentner 19 days ago

    The documentation for IBM BAW on containers could be found here: https://www.ibm.com/docs/en/baw/26.0.x?topic=mp-enabling-application-specific-logging-in-process-designer

    The documentation for BAW and WfPS in IBM CP4BA could be found here: https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/26.0.0?topic=projects-enabling-application-specific-logging-in-process-designer

    And there are two blogs on this subject:

    Let me know if you have further questions. 
    ------------------------------
    Claudia Zentner
    Senior Technical Staff Member (STSM) - Lead architect for workflow in IBM Business Automation
    IBM
    ------------------------------



  • 3.  RE: Custom Logging Documentation for IBM BAW Containerised Environment

    Posted 19 days ago

    Hi Claudia,

    Thanks for the detailed information you have shared. But I am still struggling to understand how to update the 100Custom.xml file in containerized environment as the documentation is asking to update 100Custom.xml.

    Your usual support int this regard will be appreciated.

    Regards,

    Haris Khan



    ------------------------------
    Muhammad Haris Khan (IBM Champion πŸ† 2026)
    Middleware and Automation Specialist at GBM Qatar
    +97466022397 Doha, Qatar
    ------------------------------



  • 4.  RE: Custom Logging Documentation for IBM BAW Containerised Environment

    Posted 19 days ago

    Are you still on demo environment (you tried WfPS Trial, right ?) 

    If you really want  - you can still modify 100Custom.xml - it is just a file modification.

    >docker  compose up -d

    >docker ps

    CONTAINER ID   IMAGE 

    13347342762b   icr.io/icp4ba/workflow-ps-trial:26.0.0-amd64

    >docker exec -it 13347342762b /bin/bash

    bash-5.1$ cd /opt/ibm/wlp/usr/servers/defaultServer/config 

    bash-5.1$ vi 100Custom.xml 

    Just uncomment sample config at the end of file  (plus change default /var/logs to /var/log) and it will be enabled in few seconds.

    Documentation for logging properties is here:

    https://www.ibm.com/docs/en/baw/26.0.x?topic=micp-process-application-custom-logging 

    However, this change is volatile and logs are volatile also (will be lost after image restart). 
    So better idea is to add the same config to 199Custom.xml which is mounted in pc_data PVC ( /shared/custom/config/workflow-custom.xml) and also place logs on PVC. 


    In your docker-compose.yml directory just edit file: 
    >  sudo vi ./config/workflow-custom.xml
    ... and add lines as above but with path on PVC: 
       <common>
            <process-apps-logging-config>
                <base-file-path merge="replace">/shared/custom/output/logs/pc</base-file-path>
            </process-apps-logging-config>
        </common>
    If your log file in application is named PA1.log you can see logs from directly on PVC: 
    > sudo tail -f ./output/logs/pc/PA1.log.0


    If you are talking about production environments like CP4BA the  runtime properties for Workflow Server or Workflow Center  are handled via the Custom Resource (CR) yaml file. CP4BA operator will detect the change and modify 199Custom.xml file accordingly but this is different topic. 



    ------------------------------
    Sebastian Tylko
    ------------------------------