How to find 'TalendJob' varible assignment statement in talend studio?

Six Stars

How to find 'TalendJob' varible assignment statement in talend studio?

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.

 

Highlighted
Moderator

Re: How to find 'TalendJob' varible assignment statement in talend studio?

Hello,

It should be global.jobName. For example, "test" is your current job name.

D:/log_files/test.log

You can make a change for this value.

 

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog