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.
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 errlogPrintfNoC onsole which expects whole messages, not fragments.
Thus, not only the whole message gets prefixed but each fragment.