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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: caPutLogging Documentation |
From: | "Ernest L. Williams Jr." <[email protected]> |
To: | Steve Lewis <[email protected]> |
Cc: | [email protected], "Williams Jr., Ernest L." <[email protected]> |
Date: | Wed, 19 Nov 2008 07:12:28 -0800 |
Just to clarify:
There are two instances of iocLogServer running.
The first is doing conventional IOC logging. So your st.cmd would have set the environment variables EPICS_IOC_LOG_INET and EPICS_IOC_LOG_PORT and have the line:
iocLogInit()
The second is doing caput logging, using port 7010. So your st.cmd would have:
caPutLogInit("${EPICS_IOC_LOG_INET}:7010")
So this ignores EPICS_IOC_LOG_INET and EPICS_IOC_LOG_PORT?
# ===================================================== # Turn on caPutLogging: # Log values only on change to the iocLogServer: caPutLogInit("172.27.8.31:7004") caPutLogShow(2) # ======================================================
By the way, the CSS collaboration is working on a messaging system for EPICS. I am not sure of the current status.
Thanks, Ernest
Thanks, Steve
[I added techtalk to the CC list. This might be of interest to others.]
On Tuesday 18 November 2008 14:45, Steve Lewis wrote:This sounds great, Ernest. Can you tell me exactly how this fills the need? (I see in subsequent e-mails how you got it to come up.)
In fact, I have not brought up iocLogServer yet, either. Can you give me a brief sketch of how that is configured?
At 9:28 PM -0800 2008/11/17, Ernest L. Williams Jr. wrote: >I have found that a combination of autosave/restore and caPutLogging >will give me the same functionality as the ChannelWatcher:
It is very simple. Set two environment variables
EPICS_IOC_LOG_FILE_NAME=/path/to/logfilename and
EPICS_IOC_LOG_PORT=portnumber and then start iocLogServer (from epics
base). I have attached a small shell script I use to start the log servers
on my local machine.
Cheers Ben