Hi ,

We are planning to upgrade our kettle to 5.0.1 from 4.0.1 . But facing some issues with the logging.

We are redirecting the logging to log4j logger.

In PDI-5 , we are not getting any log entries using the same log4j.xml file as of earlier versions.

Here is our log4j.xml file which works fine in earlier version but not in PDI-5 :

<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

<!-- ============================== -->
<!-- Append messages to the console -->
<!-- ============================== -->

<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<param name="Threshold" value="ERROR"/>
<param name="Target" value="System.out"/>

<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</layout>
</appender>

<appender name="ETLJOB" class="org.apache.log4j.FileAppender">
<param name="File" value="/home/pradeepm/etl.log"/>

<param name="Append" value="true"/>


<param name="ImmediateFlush" value="true"/>
<param name="BufferedIO" value="false"/>

<layout class="org.apache.log4j.PatternLayout">
<!-- Extended pattern: Date Priority [Category][SessionID] Message\n -->
<param name="ConversionPattern" value="%d %-5p [%t] %m%n"/>
</layout>
</appender>


<category name="org.pentaho.di" additivity="false">
<priority value="debug"/>
<appender-ref ref="ETLJOB"/>
</category>

<!-- ======================= -->
<!-- Setup the Root category -->
<!-- ======================= -->
<root>
<appender-ref ref="CONSOLE"/>
</root>

</log4j:configuration>

Can anyone please help us here ?

I have been trying to find a solution for the past few days with no success.