I see addp trace in T-server logs, but what do I need to do to see addp trace inside my program?
I heard that there is a Log property for tserverProtocol object, but I cannot find it. tserverProtocol.Log does not exist! :-\
as far as I know, there is no way to log addp trace in Java SDK 7.2 . I am praying they will add it in later releases of 7.5.xxxx .
What I do find bewildering is that what is the point of addp’s “number-attempts” and “reconnect-timeout”, if addp’s timeout forces SDK protocol to issue a disconnect and it is up to a client to try to reconnect.
How does addp-reconnect, number-attempts work in Java SDK?
There is method called EnableLogging(ILogger). Using this method You can have access to interal library logging. I’ve checked it - there 2 messages for addp:
Addp packet received: p
Addp packet received: P
I hope it helps. ( I’ve checked in .Net 7.2 SDK so it should work in 7.5 )