I was just about to release my application when I noticed that my couchdb 
database API key is shown in logcat.

It is shown when database.createPullReplication(syncUrl)start() is called.

How can I disable com.couchbase.lite.Database logcat output ?

Code:

public static final String DATABASE_NAME = "xxx";
public static final String SYNC_URL = 
"https://abcdefghijklmnopqrstuvwxyz:[email protected]/xxx";;
//..
manager = new Manager(getApplicationContext().getFilesDir(), Manager.
DEFAULT_OPTIONS);
//..
database = manager.getDatabase(DATABASE_NAME);
//..
syncUrl = new URL(SYNC_URL);
//..
pullReplication = database.createPullReplication(syncUrl);
pullReplication.setContinuous(true);
pullReplication.start();


        
logcat:
04-03 16:17:55.946: V/Database(5040): url.getUserInfo(): 
abcdefghijklmnopqrstuvwxyz:zyxwvutsrqponmlkjihgfedcba
04-03 16:17:55.946: V/Database(5040): Making request to 
https://---:[email protected]/xxx 
 (...)

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/8de16669-9225-4369-8716-641ce864cd80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to