IBM Support

How to remove log entries generated by InvResResTypeUpdateCronTask

How To


Summary

Depending on the data volume the InvResResTypeUpdateCronTask will generate entries similar to the ones below:

BMXAA6706I - MboSet Name : INVRESERVE Reference = psdi.app.inventory.InvReserveSet
06 Mar 2019 08:02:01:535 [INFO] [CID-CRON-26992] BMXAA6707I - MboSet Size : 6,000
06 Mar 2019 08:02:01:535 [INFO] [CID-CRON-26992] BMXAA6708I - Fetch count so far : 6,000
06 Mar 2019 08:02:01:535 [INFO] [CID-CRON-26992] psdi.util.MXSystemException: BMXAA6709I - Printing StackTrace: java.lang.Exception
java.lang.Exception
at psdi.mbo.MboSet.fetchMbosActual(MboSet.java:3059)
at psdi.mbo.MboSet.fetchMbos(MboSet.java:2894)
at psdi.mbo.MboSet.getMbo(MboSet.java:2114)
at psdi.app.inventory.InvReservationResTypeUpdateCronTask.cronAction(InvReservationResTypeUpdateCronTask.java:112)

The logging doesn't stop the execution of the cron and doesn't have a functional impact in Maximo

Objective

Remove the above data from the log files

Environment

Maximo 7.6

Steps

The value of the system property mxe.db.fetchResultLogLimit needs to be increased. By default this is 1000. If set to a level that exceeds the number of records processed by the cron task, the stack will not print.
Note that a different approach will be used when the cron task is actually failing. More information here: InvResResTypeUpdateCronTask fails

Document Location

Worldwide

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

Document Information

Modified date:
23 December 2020

UID

ibm10881932