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.
Jeff
> -----Original Message-----
> From: MacKenzie, Ronald R. [mailto:[email protected]]
> Sent: Wednesday, November 14, 2007 11:25 AM
> To: Jeff Hill
> Subject: iocLogServer simple browser
>
> Hi Jeff,
>
> 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).
>
> Thanks,
> Ron
>
> --
> 650-926-2490
> http://www.slac.stanford.edu/~ronm/
- Replies:
- Re: iocLogServer simple browser Maren Purves
- Navigate by Date:
- Prev:
Anyone have Epics support for ADSC 315r CCD detector? Russ Berg
- Next:
Re: Power Supply Record? Geoff Savage
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: WIENER crate Elder Matias
- Next:
Re: iocLogServer simple browser Maren Purves
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|