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.
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
Awesome - Thanks David!
On the same topic, I posted an idea some time ago: To be able to change the logging mode at runtime.
My idea was about the debug mode, but can be extended to any logging mode:
https://knowledge.safe.com/content/idea/46396/show-debug-logging-mode-as-workspace-property.html
On the same topic, I posted an idea some time ago: To be able to change the logging mode at runtime.
My idea was about the debug mode, but can be extended to any logging mode:
https://knowledge.safe.com/content/idea/46396/show-debug-logging-mode-as-workspace-property.html
Great idea, agree completely. Upvoted.