I want to create a pipeline that runs without the graphical user interface. I already know how to do this (KNIME batch mode). But this pipeline will be invoked from a web frontend by website visitors who are not familiar with the technical details.
I noticed that when running KNIME from the command line, there are messages of the form <message-type><tab><node-type><tab><message>. Is this a general thing? Would it make sense to filter the output so that I keep all lines that start with message-type=ERROR, message-type=WARN or message-type=INFO and then I present them to the user?
What is the idiomatic way to generate these messages from a Java snippet node? Is there a specific class or method I can call?
Or are there other best practises that I could use to report that something has gone wrong during the execution of a batch job?