> The origin of the problem is .../vxWorks/logMsgToErrlog.cpp
Agreed.
That said, logClientSend() in logClient.c could be made smarter and only send logClientPrefix before the first character following a newline ('\n'). This would require scanning through each message string, which would have the added (I think) benefit of prefixing every line of a multi-line message.
> The origin of the problem is .../vxWorks/ logMsgToErrlog. cpp
Agreed.
That said, logClientSend() in logClient.c could be made smarter and only send logClientPrefix before the first character following a newline ('\n'). This would require scanning through each message string, which would have the added (I think) benefit of prefixing every line of a multi-line message.