EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: log message filter in Asyn
From: Eric Norum <[email protected]>
To: "[email protected] Talk" <[email protected]>
Date: Tue, 17 Apr 2012 08:39:45 -0700
On Apr 17, 2012, at 8:26 AM, Mark Rivers wrote:

> You can also turn off asynTrace messages for a particular device with
> 
> asynSetTraceMask(port, addr, 0)
> 
> But I see the utility of what Matt is proposing.  We use procServ to run our IOCs, both soft IOCs and vxWorks IOCs.  On vxWorks the procServ is controlling a telnet session to an Ethernet terminal server, which is connected to the vxWorks console port.  For logging we just use the log file capability of procServ, not a special logging program.  If a device becomes unavailable the log file can quickly grow very large with asynTrace error messages.
> 
> Of course we could manually set the asynTrace mask to 0, as shown above.  But it would be nice to have the capability that Matt proposes, to automatically reduce the number of messages in the log file if they are all just repeats.

Agreed, but I'm holding to my opinion that this capability belongs in the log server, not in all the log clients.   It certainly does not belong in the ASYN layer.   In the errlogPrintf layer, perhaps, but really this belongs in the log server.

-- 
Eric Norum
[email protected]






Replies:
RE: log message filter in Asyn nick.rees
RE: log message filter in Asyn matthew.pearson
References:
log message filter in Asyn matthew.pearson
Re: log message filter in Asyn Andrew Johnson
RE: log message filter in Asyn Mark Rivers

Navigate by Date:
Prev: hardware register access Bai Jiaoni
Next: Re: How to debug record processing? Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: log message filter in Asyn Mark Rivers
Next: RE: log message filter in Asyn nick.rees
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·