General Discussion

 View Only
  • 1.  Upgrade log4j1 to log4j2 in pentaho

    Posted 01-06-2022 05:31
    Hi All,

    we wanted to upgrade log4j1 to log4j2.17.0 in pentaho 8.0 community version.
    what are the steps to be taken care?
    Anyone upgraded and faced any issue?

    Thanks,
    Divya.

    ------------------------------
    Divya Joseph
    Systems Engineer
    Encora
    ------------------------------


  • 2.  RE: Upgrade log4j1 to log4j2 in pentaho

    Posted 01-12-2022 16:01
    Hi Divya

    https://logging.apache.org/log4j/log4j-2.2/manual/migration.html  lays out the rules for migration"

    They must not access methods and classes internal to the Log4j 1.x implementation such as Appenders, LoggerRepository or Category's callAppenders method.​

    grepping through the kettle-engine repo I can see (among others)

    plugins/log4j/core/src/main/java/org/pentaho/di/core/logging/Log4jConsoleAppender.java:import org.apache.log4j.Appender;

    so I'd guess it requires significant code updates and testing.



    ------------------------------
    Andrew Cave
    Systems Engineer
    BizCubed Pty Ltd
    Australia
    ------------------------------