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!