Hi Ron,
Does a simple little program exist in C to read the iocLogServer
circular file as messages are written to it? I'm just wanting to see
the circular file messages from the program on the screen (stdout).
I'm not aware that any program like that exists.
Perhaps a superior approach would be to modify the log server so that it
sends the log messages by default to stdout if the EPICS_IOC_LOG_FILE_NAME
environment variable isn't defined (or is empty). I suppose also that the
logic in the log server implementing a circular file would need to be
selectively disabled if the file descriptor being written to isn't a file
(we could easily test the file descriptor to see if it is a file or not).
There are probably already some UNIX command line tools that pipe their
input to a length constrained circular file? And of course the command line
tool tee can be used to break out to multiple destinations.