Looking for help?

Submit a request

Setting up log4j2 in IBM BPM 8.5.x/8.6

Follow

Comments

4 comments

  • Avatar
    Ranieri Mazili de Oliveira

    It's not necessary to restart the Application Cluster or Single Cluster on each change if you replace:

    From: <Configuration status="INFO">
    To: <Configuration status="INFO" monitorInterval="30">

    This way you can change anything (even create new appenders) and after 30 seconds it will be applied.

    Very useful for production environments where you can't restart so frequently.

    0
    Comment actions Permalink
  • Avatar
    mituljerath

    Hi

    I have followed all these steps. BPM version is 8.5.7 and websphere is 8.5.5. After setting the classpath and restarting server. I see below error when trying to log:

    TypeError: Cannot call property getLogger in object [JavaPackage org.apache.logging.log4j.LogManager]

    Looks like latest jar still not picked up. Could you please help ?

    Thanks

    Mitul

    0
    Comment actions Permalink
  • Avatar
    Harish Puli

    Hi,

     

    This configration is sending WAS logs to the file defined

    custom1 file.
    0
    Comment actions Permalink
  • Avatar
    Jyoti Bhogade

    I am getting warning Packages in not defined for line Packages.org.apache.logging.log4j.LogManager.getLogger("yourlogger").info("yourmsg");  i

    in service flow of BAW 19.x version.Is this the LiveConnect syntax to call java class from script?

    I see this is deprecated but then what is the new way to call java class in script?

    https://www.ibm.com/support/knowledgecenter/SS8JB4/com.ibm.wbpm.main.doc/topics/rdev_jsapi_callingjavathroughjavascript.html

    0
    Comment actions Permalink

Please sign in to leave a comment.