Does anyone know how to save a log for a workflow to a specific lof file instead of the default workspace log.

I am executing my workflow through a python script and would like to save the log of this workflow to a customised file for each run. Does anyone know what code I should write in the python script to save the knime log to a log file other than the work space knime log.


Thank you,



This is not possible. However, we are working on tagging each line of log output with the workflow it originated from. In a second step per-workflow logs are planned. This won't happen before end of the year, though.

I don't know if this post can help you but under my bat script:

knime.exe -data c:\temp\workspace

The final log is into c:\temp\workspace\.metadata\knime\knime.log

After the execution of knime the code change the name and the position of the log and delete the temporary files.


Thank you for the reply. If there is any alternative way please let me know ASAP.

Thank you,