Suppress KNIME Warnings in CMD Batch Execution – Show Only Errors

I’m executing a KNIME workflow through the command line using a cron job, and I’m receiving multiple warning messages like:

WARN KNIME-Worker-5-JSON Path … No ungroup column selected. Node returns input table.
WARN KNIME-Worker-6-Ungroup … No ungroup column selected. Node returns input table.
WARN DB Writer … Node created an empty data table.
These are expected in some cases and not critical, so I want to suppress all warning messages and only display errors in the command line output or log.

What’s the best way to achieve this? I’m looking for either:

A way to set the logging level to ERROR only (preferably through knime.ini or command line), or

A command-line approach to filter out warnings and keep only errors in the output/logs.

Thanks in advance!

Hi @mnjy,

I hope this thread could help you with your question:

https://forum.knime.com/t/executing-workflow-as-a-batch-application-log-level-settings/11983/3?u=k10shetty1

Best,
Keerthan

1 Like