lp:~mshankar/epics-base/softioclogging
- Get this branch:
- bzr branch lp:~mshankar/epics-base/softioclogging
Branch merges
- Andrew Johnson: Approve
-
Diff: 365 lines (+245/-14)5 files modifieddocumentation/RELEASE_NOTES.html (+10/-0)
src/libCom/iocsh/libComRegister.c (+10/-0)
src/libCom/log/logClient.c (+59/-13)
src/libCom/log/logClient.h (+1/-0)
src/libCom/test/epicsErrlogTest.c (+165/-1)
Branch information
Recent revisions
- 12239. By Murali Shankar <email address hidden>
-
Added the iocLogPrefix to the header so that we can use it in the unit test
- 12238. By Murali Shankar <email address hidden>
-
iocLogPrefix does not let you change the prefix if the prefix has already been set. Display the prefix as
part of iocLogShow. - 12237. By Murali Shankar <email address hidden>
-
Added support for iocLogPrefix
Refactored logClientSend in libCom/
logClient/ logClient. c; took the code between the mutex operations and
moved it to a private method - sendLogMessageinChunks. Call this method once for the prefix (if it exists) and once
for the actual message.
Added ioCsh registration code into src/libCom/iocsh/libComReg ister.c registering a command called
"iocLogPrefix" that sets this prefix.Unit tested with and without prefixes.
Performance tested with and without prefixes - without prefix is approx the same. With prefix is about
twice the time (reflecting the two calls to sendLogMessageinChunks I think)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~epics-core/epics-base/3.15