When I run a workspace from FME Desktop the Log Message Filter setting in FME Options/Translation is respected. But it's ignored when I run fme.exe from the command line and pass a Command file. Is there a parameter I can set on the command line or in the command file? I just want Errors and Warnings.
Solved
How can I set the log level when running FME Desktop from the command line with a command file?
Best answer by david_r
When running a workspace from the command line (or on FME Server, even), the logging options used are those that were active when the workspace was last saved. Meaning that the currently active logging options are saved in the .fmw file (in the LOG_FILTER_MASK tag, if you want to look for it).
If you want to specify a specific logging level of a workspace started from the command line:
- Open the workspace in FME Workbench
- Modify the logging options
- Save the workspace
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.