Viewing Couchbase Lite log


#1

what’s the easiest way to view a log generated by CB Lite 2.1 in a UWP app on Windows ? Here I see that ‘cblite logcat’ will decode the file.

Does that mean I have to build the cblite utility, or do you publish binaries ?


#2

We are working on getting binaries out but for now you must build it or enable text logging.


#3

hmm… “enable text logging” sounds interesting. How ?


#4

Never mind about ‘Text Logging’. I was able to build the ‘cblite’ tool on Ubuntu.

The current rev had compile errors, but going back to couchbase-lite-core 2.0.0 (https://github.com/couchbase/couchbase-lite-core/releases/tag/CBL2.0.0) does build correctly.


#5

In case someone else wonders about enabling text logging:
Couchbase.Lite.Support.UWP.EnableTextLogging();