Skip to main content

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

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 @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.


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.

 


Reply