[guardian-dev] Bugs

Miron (devrandom) c1.android at niftybox.net
Mon Jul 2 12:28:43 EDT 2012


The log is kept for awhile, depending on how many other things are happening on the phone.  Somewhere between 1 and 6 hours.  So you can do the adb thing later.  Another, easier way, is to install alogcat.  alogcat can save a snapshot of your log file anytime, so you can just launch it and do Menu => Save after you notice the issue.  Then you can copy the log file from your alogcat directory on your sdcard.

You do have to run the `adb shell setprop` command.  You can either run it from the PC, assuming you have adb installed and the debug mode on your phone.  You can also run just the setprop part in an Android terminal emulator, but getting all the typing right (upper/lowercase matters) can be tricky.

Hope this helps.

----- Original Message -----
> From: "Roy Teeuwen" <roy at teeuwen.be>
> Cc: guardian-dev at lists.mayfirst.org
> Sent: Sunday, 1 July, 2012 6:55:18 PM
> Subject: Re: [guardian-dev] Bugs
> How do i do this? I connect the phone to the pc and do it on there and
> keep it connected until it occurs? or where do i type this adb
> 
> Op 29/06/2012 4:37, Miron schreef:
> 
> 
> On 27/06/12 10:43, Roy Teeuwen wrote:
> 
> 
> Is there any fix coming for this? Is there a way to make sure the
> message got through?
> 
> 
> A couple of notes about delivery receipts and about logging/debugging.
> 
> There's an implementation of XEP-0184 - delivery receipts in the
> latest version on the Store (I assume you are on that version). If you
> talk to another Gibberbot of recent version, you should see an icon in
> the top-right that looks like an envelope with a checkmark. This
> signals that delivery receipts are active. If a message doesn't go
> through within 10 seconds, an envelope with a red X will appear by the
> message. Let me know if you are not seeing these.
> 
> I wasn't able to replicate the missing message issue on my phones.
> 
> You can turn on debug logging with:
> 
> adb shell setprop log.tag.GB.XmppConnection DEBUG
> 
> and watch the log:
> 
> adb logcat
> 
> It will log "D/GB.XmppConnection( 6414): 1 : receive message" when a
> message is received on the wire. It would be good to know if these
> messages are received but not displayed, or if they are not
> received/sent at all.
> 
> Lastly, it would be good to know if this is OTR related - does it ever
> happen with OTR off?
> --
> Miron http://hyper.to/blog/
> 
> 
> _______________________________________________
> Guardian-dev mailing list
> 
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> 
> To Unsubscribe
> Send email to: Guardian-dev-unsubscribe at lists.mayfirst.org
> Or visit:
> https://lists.mayfirst.org/mailman/options/guardian-dev/c1.android%40niftybox.net
> 
> You are subscribed as: c1.android at niftybox.net


More information about the Guardian-dev mailing list