ZMQ (really OpenPGM) outputs warnings to STDOUT

Description

ZMQ outputs warnings such as:
Warn: Interface lo reports as a loopback device.
Warn: Interface lo reports as a non-multicast capable device.

to STDOUT. Warning should go to STDOUT. This broke a script which piped the output from the ZMQ using executable to something else. It did not expect the library to write to STDOUT.

ZMQ is a library and thus should never write to STDOUT. STDERR is OK I guess but never STDOUT. We need to configure OpenPGM to use STDERR (it uses printf() currently).

Environment

ubuntu precise (12.04) libzmq-dev package.
Using EPGM with ZMQ

Activity

Show:

Details

Assignee

Reporter

Components

Affects versions

Priority

Created December 19, 2012 at 9:19 PM
Updated December 19, 2012 at 9:19 PM