• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Display Environment Variables

#1 2009-06-04 11:19:56

jules
Member
Registered: 2009-05-13
Posts: 42

Display Environment Variables

Tags: [display, path, perl]

Hi there,

I am taking over some jobs written by my predecessor, and am trying to understanding some of the basiscs around the job. One of the things that I notice is that it writes its logs to a location that is set using an environment variable. The property for stats and log files filepath is set to: "$ENV{'TALEND_LOG'}.

How do I find out what the value for this environment variable is? I assume there is a way to see or display this in TALEND?


Uploaded Images

Offline

#2 2009-06-04 13:33:23

bcourtine
Member
Company: Alcion Group
Registered: 1970-01-01
Posts: 64
Website

Re: Display Environment Variables

There are various possibilities :
- a tSystem component with "echo $ENV{'TALEND_LOG'}"
- a tFixedFlowInput with "$ENV{'TALEND_LOG'}" sent to a tLogRow
- etc.


Java/J2EE and Talend certified consultant for Alcion Group.

Offline

#3 2009-06-04 15:37:38

plegall
Member
Registered: 2006-09-19
Posts: 1586
Website

Re: Display Environment Variables

tPerl with:

Code:

print $ENV{TALEND_LOG};

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Display Environment Variables

Board footer

Powered by FluxBB