Issue #296 Add logging to debug issue

https://github.com/couchbase/couchbase-lite-android/issues/296