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
  • 121 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.

View original
Did this help you find an answer to your question?

3 replies

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • 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
Contributor
Forum|alt.badge.img+19
  • Contributor
  • 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
Contributor
Forum|alt.badge.img+19
  • Contributor
  • January 30, 2018
fmelizard wrote:

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.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings