EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  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  <19961997  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: iocLogDisable
From: [email protected] (Jeff Hill)
To: [email protected]
Cc: [email protected]
Date: Fri, 2 Feb 96 13:49:47 MST
Steve,

> Between R3.12 and 3.12.2, iocLogDisable in iocLogClient.c got
> changed to LOCAL, that is, static.  Thus, setting
> 	iocLogDisable = 1
> at the VxWorks command line no longer disables logging.  (In fact,
> you are reminded that you have created a new symbol.)
> 
> I assume this was inadvertently done when setting most of the other
> global variables to LOCAL in that module.
> 
> If the intent was *NOT* to change the behavior, this should be corrected
> on line 67, iocLogClient.c, in base/src/libvxWorks:
> 
> 	LOCAL int       iocLogDisable = 0;
> ==>
> 	int             iocLogDisable = 0;


You are correct that this was inadvertently done when setting most 
of the other variables to LOCAL. I suspect that this change will not cause 
significant grief given the accompanying improvements made to the 
log client:

o it no longer blocks iocInit() if the log server isnt available
	even if iocLogDisable is FALSE
o the log client also now periodically attempts to reconnect to the 
	log server if it is restarted

This is fixed here at LANL (but not yet committed to CVS at APS).

Jeff

______________________________________________________________________
Jeffrey O. Hill			Internet	[email protected]
LANL MS H820			Voice		505 665 1831
Los Alamos, NM 87545 USA 	FAX		505 665 5107


Navigate by Date:
Prev: distant rs232 Ian Smith
Next: EPICS archive to DADiSP format? Leroy Rodriguez
Index: 1994  1995  <19961997  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: iocLogDisable Steve Lewis
Next: distant rs232 Ian Smith
Index: 1994  1995  <19961997  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·