Log login attempts above debug threshold, since they are worth noting at all times. (#671)

This commit is contained in:
dosiecki 2015-03-12 00:16:57 -07:00
parent 9ddb4f506b
commit 0f6fecfa31

View file

@ -83,6 +83,9 @@ public class APIManager {
}
public NewsBlurResponse login(final String username, final String password) {
// This call should be pretty rare, but is expensive on the server side. Log it
// at an above-debug level so it will be noticed if it ever gets called too often.
Log.i(this.getClass().getName(), "calling login API");
final ContentValues values = new ContentValues();
values.put(APIConstants.PARAMETER_USERNAME, username);
values.put(APIConstants.PARAMETER_PASSWORD, password);