Hi,
I need to set log file path as a parameter. So I ‘ve added User parameter LogFile and linked it to log file in
Navigator-Workspace Parameters-Logging
![](https://uploads-us-west-2.insided.com/safesoftware-en/attachment/a2a66340-6d5f-4123-919c-8e64a8df9fbe.png)
I’m running my workflow as follows:
"C:\Program Files\FME2\fme.exe" C:\FME\mz\WybranaSiecPomDgn2k.fmw --LogFile "c:\Folder1\File.log"
The problem is, that “c:\Folder1” folder does not exists, and the following error appears:
“Unable to open log file `c:\Folder\File.log'. The preceding error has occurred during FME logfile setup
Program Terminating”
I was trying to create “c:\Folder1” folder using Scripting-Startup Python Script, but it doesn’t help, probably because FME tries to create log file before Python script execution.