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
<2012>
2013
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
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|