IBM Support

IJ43394: MXDAILYFILEAPPENDER CREATING NEW LOG FILE EVERY SECOND.

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

  • After applying TPAE 7612 IFIX 21 version
    TPAE_7612_IFIX.20220628-1241, any log file using
    MXDailyFileAppender appears to roll over very quickly contrary
    to what settings are defined in the Logging application,
    creating new log file every second. With a 5MB file size and 20
    backup index, these log files roll over within seconds at very
    low file sizes (1-10 KILOBYTE).
    STEPS TO REPRODUCE:
    1. In Maximo Logging application,  more actions -> list logging
    properties.
    Daily rolling appender is defined out of the box as below:
    -----------------
    log4j.appender.Rolling=psdi.util.logging.MXFileAppender
    log4j.appender.Rolling.layout=psdi.util.logging.MaxPatternLayou
    t
    log4j.appender.Rolling.layout.ConversionPattern=%d{dd MMM yyyy
    HH:mm:ss:SSS} [%-2p] [%s] [%q] %m%n
    log4j.appender.Rolling.File=maximo.log
    log4j.appender.Rolling.MaxFileSize=5MB
    log4j.appender.Rolling.MaxBackupIndex=20
    
    
    log4j.appender.DailyRolling=psdi.util.logging.MXDailyFileAppend
    er
    log4j.appender.DailyRolling.layout=psdi.util.logging.MaxPatter
    nLayout
    log4j.appender.DailyRolling.layout.ConversionPattern=%d{dd MMMy
    yyy HH:mm:ss:SSS} [%-2p] [%s] [%q] %m%n
    log4j.appender.DailyRolling.File=maximo_scheduled.log
    log4j.appender.DailyRolling.DatePattern=yyyy-MM-dd
    -----------------
    RESULTS:
    Any log file using MXDailyFileAppender appears to rollover very
    quickly contrary to what settings are defined in the Logging
    application, creating new log file every second.
    EXPECTED RESULTS:
    Log file should roll over as per settings are defined in the
    Logging application.
    
    REPORTED IN VERSION:
    TPAE 7612 IFIX 21 version TPAE_7612_IFIX.20220628-1241
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * MAXIMO                                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Using the logger of type MXDailyFileAppender results in a    *
    * rollover every second rather than every day.                 *
    ****************************************************************
    

Problem conclusion

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

Temporary fix

Comments

APAR Information

  • APAR number

    IJ43394

  • Reported component name

    MAXIMO SYSTEMS

  • Reported component ID

    5724R46AV

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-09-28

  • Closed date

    2022-09-30

  • Last modified date

    2022-09-30

  • 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 SYSTEMS

  • Fixed component ID

    5724R46AV

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:
30 September 2022