Thanks for reporting this.

I opened an issue to track it:

https://github.com/couchbase/couchbase-lite-java-core/issues/139


On Thu, Apr 3, 2014 at 8:52 AM, Jakub Czaplicki
<[email protected]>wrote:

>
> 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://---:---@
> xxx.com/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<https://groups.google.com/d/msgid/mobile-couchbase/8de16669-9225-4369-8716-641ce864cd80%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CACSSHCEW1Pe00DLpgoWVPN8zUXGdUXzkXRfHwf43JLmTW5NWAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to