Is it possible to log to the main KNIME Console from a Python Script node?
This was asked a few years ago (4156), but I wondered if anything had changed, especially with the new Python framework.
Is it possible to log to the main KNIME Console from a Python Script node?
This was asked a few years ago (4156), but I wondered if anything had changed, especially with the new Python framework.
Hi @ccdc_knime,
Yes, this should be possible by a simple call to print
, so for example print("My log message")
. Note that you will have to set your console log level to INFO (or DEBUG)
via File > Preferences > KNIME > KNIME GUI > Console View Log Level to be able to see these log entries.
Marcel
Thanks, that’s exactly what I was after.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.