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
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.