Skip to main content
Hi,

 

I look for retrieving LogFileName and copy into my folder. example : When i launch a job, i get a log file in : serverjobsubmitter/FME_74061B13_1373896868934_15164.log. i'd like to move it into another folder like "C:/logs" for each traitment.

 

Thanks an advance.

 

 

farfar
Hi,

 

 

have you looked at the FMEServerLogFileRetriever?

 

 

David
Hi,

 

I use FMEServerLogRetriever and get attribute _log_attr. 

 

are there some example to create a logfile and copy this attribute to it with PythonCaller or other transformer?

 

I'm a new fme user.

 

Thanks an advanc.

 

 

Farfar
Hi Farfar

 

Once you have the log file in your attribute _log_attr you can just use the Text File writer to write that log file anywhere you want.  Connect the _log_att  (which contains the actual log file) to the the text_line_date attribute on the destination. Screen shot here:

 

http://screencast.com/t/QIm5Bl3oX

 

 


Reply