Comment 2 for bug 1983385

Revision history for this message
Dirk Zimoch (dirk.zimoch) wrote (last edit ):

I am working with 7.0.6, based on commit 59124459 (tag R7.0.6)
I will try your modifications.

The origin of the problem is that the code in modules/libcom/src/osi/os/vxWorks/logMsgToErrlog.cpp implements a low-level i/o write() function that is called multiple times per logMsg (once for each format and once for each literal string in between) but it calls the high-level i/o function errlogPrintfNoConsole which expects whole messages, not fragments.
Thus, not only the whole message gets prefixed but each fragment.