WorkflowManager

Hi!

I have a question, how can I append WorkflowManger logs to a custom log file?

Or how can I have a own log file for each knime workflow?

 

Thanks!

You can enable per-workflow log files in the preferences (File -> Preferences -> KNIME -> Enable per workflow logs).

Thank you very much!

When executing a Knime Workflow in a batch mode as:

knime.exe -nosave -consoleLog -nosplash -reset -application org.knime.product.KNIME_BATCH_APPLICATION  -workflowFile="C:\FileReader.knwf"

the log file for the workflow is not created.

How can debug information to be displayed when run Knime workflow in batch mode as in command above?

Thanks!

I believe this is because per-workflow logs are not the standard setting and if run the batch executor as in your example it won't pick up the preferences from your workspace. Try adding "-data <your workspace>" to the command line argument where <your workspace> is the workspace where you set the logging preferences. Alternatively you can export the preferences from your workspace and provide it to the batch executor with -preferences.

1 Like

As following the way of exporting preferences file, where did the log file will be created?