Issue #296 add debugging

https://github.com/couchbase/couchbase-lite-android/issues/296
Issue #296 fix broken log formatting

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