Console logging in iOS 1.3

14 views
Skip to first unread message

Martin Rybak

unread,
Aug 19, 2016, 6:56:42 AM8/19/16
to Couchbase Mobile
I just upgraded my iOS project to Couchbase Lite 1.3 and now I see thousands of lines of logs in the Xcode debug console from JSONReader and CBL_FMDatabase:

06:42:38.341 JSONReader: Start with <CBLTemplateMatcher: 0x79764470>

06:42:38.341 JSONReader: Start object

06:42:38.342 JSONReader: Pushed <CBLTemplateMatcher: 0x79725cb0>

06:42:38.342 JSONReader: Object key: "results"

2016-08-19 06:45:50.343 <CBL_FMDatabase: 0x78e488a0> executeUpdate: INSERT INTO revs (doc_id, revid, parent, current, deleted, no_attachments, json, doc_type) VALUES (?, ?, ?, ?, ?, ?, ?, ?)

2016-08-19 06:45:50.344 obj: 33856

2016-08-19 06:45:50.344 obj: 3-82734d98aa248f11ea0c128df50b9100

2016-08-19 06:45:50.344 obj: 67977

2016-08-19 06:45:50.344 obj: 1

2016-08-19 06:45:50.345 obj: 1

2016-08-19 06:45:50.345 obj: 1

2016-08-19 06:45:50.345 obj: <7b7d>

2016-08-19 06:45:50.346 obj: (null)


I didn't change my log settings. In fact, I can't seem to turn logging off at all. I tried adding a -Log NO to the current scheme. I tried [CBLManager redirectLogging:] with a non-nil block. 

Am I missing something?

Also, the logging channels doc referred to in CBLManager.h is a dead link:

Nick Pomfret

unread,
Aug 19, 2016, 7:00:11 AM8/19/16
to Couchbase Mobile

Jens Alfke

unread,
Aug 19, 2016, 9:22:29 AM8/19/16
to mobile-c...@googlegroups.com
Well, that’s weird! I’ve never heard of anyone having this problem. Please file a bug report and we’ll investigate.

—Jens
Reply all
Reply to author
Forward
0 new messages