Setting up Backward Compatibility

This section shows how you can continue to use log4j 1.2 natively.

Setting up Classpath

You need to make some modifications in the classpath to use Log4j 1.2.

Procedure

  1. Remove log4j-api.jar and log4j-core.jar from the <TAFJ_HOME>\lib directory.
  2. Add the following JAR in the <TAFJ_HOME>\lib directory:

    <TAFJ_HOME>\3rdParty\logging\log4j12\log4j.jar

Setting up Runtime

Procedure

  1. Set the following system property through JVM argument using the appserver mode to switch from native Log4j2 API to Log4j 1.2:

    -Dtemenos.log.api=LOG4J

    TIPS:

    You can set the above system property through environment variables (standalone mode tafj shell) as follows:

    • For Linux - export temenos_log_api =LOG4J
    • For Windows - set temenos.log.api=LOG4J


Bookmark Name Actions
Feedback
x