Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Logging from scripting stop working after IFIX019

    Posted 05/20/22 02:21 PM
    After aplying maximo 7612 ifix019, the logging feature stop working from scripting.
    I mean using some like:

    myLogger = service.getLogger("maximo.script.test")
    myLogger.info("** This is the message **")

    The code before, does no produce any error but any output neither.

    Like this IFIX019 solves a vulnerability issue with log4j, I think that something may be changed in the way we can log messages from a script.

    Does someone know if that is true?

    Regards,
    Adrian

    ------------------------------
    Adrián Soto
    ------------------------------



    #Maximo
    #MaximoIntegrationandScripting
    #AssetandFacilitiesManagement


  • 2.  RE: Logging from scripting stop working after IFIX019

    Posted 05/27/22 10:45 AM
    I would recommend opening a case. In the interim, I tested if you use maximo.autoscript.test (assuming you created a child logger called test) and have that child logger at least at INFO level that it should work. I don't have an environment right now that doesn't have the fix. Normally the logger & key are identical so it's possible that there's an issue when they don't match.

    ------------------------------
    Steven Shull
    ------------------------------