Skip to main content
Question

LogFile in FME SERVER

  • July 16, 2013
  • 3 replies
  • 13 views

farfar
Contributor
Forum|alt.badge.img+12
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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

david_r
Celebrity
  • July 16, 2013
Hi,

 

 

have you looked at the FMEServerLogFileRetriever?

 

 

David

farfar
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • July 17, 2013
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

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • July 18, 2013
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