mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Log login attempts above debug threshold, since they are worth noting at all times. (#671)
This commit is contained in:
parent
9ddb4f506b
commit
0f6fecfa31
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue