One Star

Get Log file Name

Hi,
I can see job execution log file details in TAC and I want to display/Print the log file name using tjava.
How to get the log file name ?
Regards,
R.Bharath
3 REPLIES
Moderator

Re: Get Log file Name

Hi,
You can use system variables to obtain the log name and the path of logs files at the execution server in tJava.
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.
One Star

Re: Get Log file Name

Hi Sabrina,
which the system variable name and how ? Can you please share sample ?
Regards,
R.Bharath
Community Manager

Re: Get Log file Name

Hi  
Th log file is generated after the job execution, it is located in the folder where you specified in the Task logs Folder parameter of Job conductor in configuration page. The log file name looks like execution_20151118134334_iJxwO.log
I don't understand why  you need to print the log file name in the job? Can you please explain your requirement?
----------------------------------------------------------
Talend | Data Agility for Modern Business