Yes @Jens And Parvez

We will be having a complete different bucket for it and the document will 
have a channel which wont be subscribed by any user. This way we will stop 
pulling logs to other devices. Apart from this we would use TTL so that the 
document is purged after a configured period of time. The essence of this 
exercise is to know what errors are coming on clients having our apps. So 
we can keep on solving them in releases we will plan.

Regards
Pankaj 

On Saturday, April 22, 2017 at 2:45:25 AM UTC+5:30, Jens Alfke wrote:
>
>
> On Apr 21, 2017, at 2:32 AM, parvez....@decurtis.com <javascript:> wrote:
>
> I have tried making use of CBLManager class's redirectLogging method to 
> get all logs that are enabled using enableLogging method. Then I create 
> instances of CBLModel subclass
>
>
> I would not make each log message a separate document; it produces too 
> many documents.
>
> How can we make above LogMessage model to be push only document and it 
> should not be pulled back on same or other devices running the application?
>
>
> On the server side, detect documents containing logs and don’t add them to 
> any channels that user accounts are pulling from.
> Or just put the logs into an entirely different database that clients only 
> push to, never pull from.
>
> —Jens
>
>

-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/5c378294-de80-432a-b0d2-6f8adfc5ada1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to