Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have included following code in log4j.xml file,.
<!-- FILE appender --> <appender name="FILE" class="org.apache.log4j.FileAppender"> <param name="file" value="D:/log_files/${TalendJob.log}"/> <param name="threshold" value="debug"/> <param name="immediateFlush" value="true"/> <param name="append" value="false"/> <layout class="org.apache.log4j.PatternLayout"> <param name="conversionPattern" value="%m%n"/> </layout> </appender>
It is working fine..but i just want to know what is the definition of TalendJob.log and what is the location to find definition statement.
Hello,
It should be global.jobName. For example, "test" is your current job name.
D:/log_files/test.log
Best regards
Sabrina