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.

 

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 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch