Skip to main content
Solved

How can I change the location of the FME Desktop log file in a control file (.fme) ?

  • January 29, 2018
  • 3 replies
  • 164 views

Forum|alt.badge.img

In a control file (.fme) in which I chose the source file and the destination directory, I would like the log file to be in the same directory as the destination directory.

How can I do ?

 

Thank you

Best answer by takashi

Hi @40_eme, if you run the mapping file (*.fme) from a command line, you can specify the log file path through a builtin parameter called 'LOG_FILENAME'. e.g.

"C:\Program Files\FME\fme.exe" "C:\tmp\my_task.fme" LOG_FILENAME "C:\destination\my_task.log"

Note that the folder in which you are going to save the log file must exist already in the disk system at starting the translation.

If you would newly create a workspace with FME Workbench, you could also create a published user parameter linked to the Log File parameter (a workspace parameter) and specify the log file path through the parameter.

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

fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • January 29, 2018

Hi @40_eme Safe hasn't support mapping files for many many years. Which build of FME are you using? You need to try FME Workbench - https://www.safe.com/fme/getting-started/fme-demos/


takashi
Celebrity
  • 7843 replies
  • Best Answer
  • January 30, 2018

Hi @40_eme, if you run the mapping file (*.fme) from a command line, you can specify the log file path through a builtin parameter called 'LOG_FILENAME'. e.g.

"C:\Program Files\FME\fme.exe" "C:\tmp\my_task.fme" LOG_FILENAME "C:\destination\my_task.log"

Note that the folder in which you are going to save the log file must exist already in the disk system at starting the translation.

If you would newly create a workspace with FME Workbench, you could also create a published user parameter linked to the Log File parameter (a workspace parameter) and specify the log file path through the parameter.


takashi
Celebrity
  • 7843 replies
  • January 30, 2018

Hi @40_eme Safe hasn't support mapping files for many many years. Which build of FME are you using? You need to try FME Workbench - https://www.safe.com/fme/getting-started/fme-demos/

Hi @DanAtSafe, the current Workbench still supports to save a workspace as a mapping file (*.fme). It could be a mapping file saved with Workbench, maybe.