Pentaho

 View Only
  • 1.  How to upgrade log4j to 2.17 version in pentaho ?

    Posted 7 days ago

    Hii,

    Any possible info on how to upgrade the log4j 1.2.17 version to log4j 2.17 version in Pentaho.



    ------------------------------
    Saket Kumar
    Data Service Manager
    Tibersoft
    ------------------------------



  • 2.  RE: How to upgrade log4j to 2.17 version in pentaho ?

    Posted 7 days ago
    Hi Saket

    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 Analytics Consultant
    M. +61 430 365 773
    T. +61 2  9007 7887
    E. andrew.cave@bizcubed.com.au
    www.bizcubed.com.au





  • 3.  RE: How to upgrade log4j to 2.17 version in pentaho ?

    Posted 6 days ago

    Hi Andrew,

    Thanks for the reply.

    I went through the above link before too but it was not clear to me. So I was looking for some other resources. Is there any possible way we can download the latest log4j and replace it with the older one.



    ------------------------------
    Saket Kumar
    Data Service Manager
    Tibersoft
    ------------------------------



  • 4.  RE: How to upgrade log4j to 2.17 version in pentaho ?

    Posted 6 days ago

    Hi Andrew,

    I am using pentaho 8.3 version which is using the log4j1.2.17. So I need to be sure shall I upgrade to log4j2.17 version.

    Can you let me know ?

    Thanks



    ------------------------------
    Saket Kumar
    Data Service Manager
    Tibersoft
    ------------------------------