Right now, ChangesFeed  on SyncGateway prints log messages with the 
Sequence, the documentId as well as the revisions being sent to a 
particular client. It would be very helpful to know which client also 
receives the change so debugging is easier. I have a patch that adds this 
information in the Changes+ Log messages (in the same line that sends the 
information about sequence etc.) and it seems to work well. For e.g. this 
is how it looks after my patch:

13:43:57.834421 Changes: MultiChangesFeed({*}, {Since:1304 Limit:50 
Conflicts:true IncludeDocs:false Wait:true Continuous:false 
Terminator:0xc2107799c0}) ...  (to client_1_13_6)
client_1_13_6 is my authenticated Android Client. 

I can submit a Pull Request if you think it will be helpful for everyone. 
My idea is to form a complete logstream between mobile clients , sync 
gateway and my connecting glue so that I can trace where a document is 
going and if its received by all clients that have access to that document. 
Without the authentication details, its impossible to get that information 
from sync gateway.

Thanks
Raja
 

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/abdcc18d-08b6-4177-8876-874d4329b364%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to