EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: caPutLogging Documentation
From: Benjamin Franksen <[email protected]>
To: [email protected]
Cc: Steve Lewis <[email protected]>, "Williams Jr., Ernest L." <[email protected]>
Date: Thu, 20 Nov 2008 10:39:47 +0100
On Wednesday 19 November 2008 16:12, Ernest L. Williams Jr. wrote:
> Steve Lewis wrote:
> > 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()

Yes.

> > The second is doing caput logging, using port 7010.  

Yes.

> > So your st.cmd 
> > would have:
> >     caPutLogInit("${EPICS_IOC_LOG_INET}:7010")
> > So this ignores EPICS_IOC_LOG_INET and EPICS_IOC_LOG_PORT?

They are always ignored by caPutLog (on the IOC). You can of course use 
the /value/ of EPICS_IOC_LOG_INET wherever you want, including as argument 
of caPutLogInit. Also note that 7010 is the default port for caPutLog so 
you can leave out the ':port' part in this case.

Cheers
Ben
-- 
"Programming = Mathematics + Murphy's Law" (E.W.Dijkstra)

Any text below this line has automatically been added by the
mail server and does not necessarily represent my personal opinion.

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Glienicker Straße 100, 14109 Berlin
Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph
Stellvertretende Vorsitzende: Dr. Jutta Koch-Unterseher
Geschäftsführer: Prof. Dr. Anke Rita Pyzalla, Prof. Dr. Michael Steiner, Dr. Ulrich Breuer
Sitz der Gesellschaft: Berlin Handelsregister: AG Charlottenburg, 89 HRB 5583

Information:
Durch die Fusion mit dem ehemaligen Hahn-Meitner-Institut (HMI) ist BESSY nun Teil des neuen Helmholtz-Zentrum Berlin für Materialien und Energie (HZB). Die Fusion wird im Januar 2009 vollzogen sein.

By the merger with the former Hahn-Meitner-Institut (HMI), BESSY became part of the new Helmholtz-Zentrum Berlin für Materialien und Energie (HZB). The merger will be completed by January 2009.


Disclaimer automatically attached by the E-Mail Security Appliance mail0.bessy.de 11/20/08 at Helmholtz-Zentrum Berlin GmbH. 



References:
Re: caPutLogging Documentation Ernest L. Williams Jr.

Navigate by Date:
Prev: Re: Building system with Debug Andrew Johnson
Next: A db question about aiExample marco_hair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: caPutLogging Documentation Ernest L. Williams Jr.
Next: Re: caPutLogging Documentation Matthias Clausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024