Harness Displaying INFO as ERROR is by design when they are written to stderr

Whenever you write any logs to stderr while using Harness they will be displayed as Error.

This is by design. Even though these are info level messages, anything that is written to stderr will show up in red as ERROR but we will not fail the script because of that.

If it is written only to stdout it should not show up that way, but this is a common thing brought up often that is really harmless.

Seemingly the python logging module writes to stderr by default.

The way to fix it is in the basic config.

logger = logging.getLogger('managed.storage') logging.basicConfig(level=logging.INFO, stream=sys.stdout)

For ref: https://www.delftstack.com/howto/python/python-logging-stdout/