Node-red is logging messages with incorrect severity

Hi, I have noticed that node-red logs redirected to syslog are using incorrect severity.

As you see some records have [info] in message and are under info severity.
But when I triggered error (type error in function node) these logs are with severity info and I think they should be under error (as they have [error] in message but are also actual errors.

Is there anything we can do?

Or can it be done with some custom logger?

What is the rule in node-red?
Does it always log under info?

The default Node-RED logger writes all events to standard out - so will appear as info messages to syslog.

You'd have to write a custom logger to write error messages to stderror if you wanted something different.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.