iocLogPrefix incompatible with VxWorks logMsg
Bug #1983385 reported by
Dirk Zimoch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
New
|
Undecided
|
Unassigned |
Bug Description
When defining a iocLogPrefix, messages generated with logMsg on VxWorks contain the prefix before and after each format specifier, including those generated by the system for thread id. No problem with errlogPrintf though.
On the VxWorks shell I do:
iocLogPrefix "[PREFIX]"
errlogPrintf "with errlogPrintf %s number %d\n", "hello",3
logMsg "with logMsg %s number %d\n", "hello",3
On the log server I see:
[PREFIX]with errlogPrintf hello number 3
[PREFIX]
To post a comment you must log in.
Which Base version/series are you working with?
fyi. iocLogPrefix was added in 3.15.0.1.
You might also like to test my as yet unreleased rewrite of errlog on 7.0 branch.
https:/ /github. com/epics- base/epics- base/pull/ 113