Hi Patrick,
On Friday 15 October 2010 03:45:48 [email protected] wrote:
>
> I'm sorry, I'm not quite sure I understand. I did a grep for
> asTrapWriteRegisterListener and logClientSend in the gateway source code
> and did not get any results. Is there code in the gateway source somewhere
> that does the logging to the file that is specified on the command line?
Sorry for leading you astray, I'm sitting next to Ralph in an EPICS workshop
and we've just worked out that we were both wrong (probably led by my assuming
that the gateway would use the asTrapWrite facility, which it apparently
doesn't after all).
You should look initially at the routines gateVcChan::write() and
gateVcChan::writeNotify() in gateVc.cc which do the value put logging in the
gateway code, plus a couple of other places, look for the callers to
getPutlogFp() for those. There are various related routines for setting the
put-log file name and the file pointer it is written to, but you should be
able to trace those through by tracing through the member functions and
variable names used.
HTH,
- Andrew
--
If a man is offered a fact which goes against his instincts, he will
scrutinize it closely, and unless the evidence is overwhelming, he will
refuse to believe it. If, on the other hand, he is offered something
which affords a reason for acting in accordance to his instincts, he
will accept it even on the slightest evidence. -- Bertrand Russell
- References:
- gateway putlog pthomas
- Re: gateway putlog Ralph Lange
- Re: gateway putlog pthomas
- Navigate by Date:
- Prev:
Re: Problem in registerRecordDeviceDriver Andrew Johnson
- Next:
INLINK with PP and Asynchronous Device Support Schoeneburg, Bernd
- 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: gateway putlog Ralph Lange
- Next:
StreamDevice-2-4 compile error Burkhard Kolb
- 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
|