IBM Support

IJ43547: LOGGERS FAIL TO WRITE LOG ENTRY FOR AUTOMATION SCRIPTS AFTER LOG4J UPGRADE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Problem description:
    
    Loggers fail to write log entry for automation scripts after
    log4j upgrade
    
    Steps to reproduce:
    
    Create a very simple custom autoscript:
    
    from psdi.util import HTML
    from psdi.util.logging import MXLogger
    from psdi.util.logging import MXLoggerFactory
    
    myLogger =
    MXLoggerFactory.getLogger("maximo.application.WOTRACK")
    myLogger.error("script TMP called ERROR")
    myLogger.info("script TMP called INFO")
    myLogger.debug("script TMP called DEBUG")
    myLogger.debug("Mbo is " + mbo.getString("WONUM") + " and status
    " + mbo.getString("STATUS"))
    
    ====
    
    Launchpoint information:
    
    Create a launch point on the description attribute on the
    WORKORDER object.
    
    It should be triggered on the validate action
    
    
    ====
    
    Logging information:
    
    application logger - INFO
    child logger WOTRACK - DEBUG
    apply settings etc
    
    
    ====
    
    Create a Wor Order
    
    Enter a description
    
    Move to a different field to trigger the validate method
    
    Check the logs to confirm that the log entries are generate
    correctly
    
    
    Current results:
    
    
    Some of the log entries are not being logged
    
    Expected results:
    
    
    All the messages should be logged to SystemOut.log
    
    
    Environment:
    
    Tivoli's process automation engine 7.6.1.2
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * MAXIMO                                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * IJ43547 LOGGERS FAIL TO WRITE LOG ENTRY FOR AUTOMATION       *
    * SCRIPTS AFTER LOG4J UPGRADE                                  *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    package: release\fix pack for Release 8.x Product
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ43547

  • Reported component name

    MAXIMO ASST MGM

  • Reported component ID

    5724R46AM

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-10-05

  • Closed date

    2022-12-15

  • Last modified date

    2022-12-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MAXIMO ASST MGM

  • Fixed component ID

    5724R46AM

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"761","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
15 December 2022