aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-04-26 09:30:06 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-04-26 09:30:45 +0200
commitbc462301695b3766fadae920ecc5ac6c3f35828b (patch)
tree6c5e74717bc9025293c7394f5cb35d7f419f3fa5 /main
parent060c6f6ddb9b0ee86845a4e90c2f66532d3aa44a (diff)
downloadcgeo-bc462301695b3766fadae920ecc5ac6c3f35828b.zip
cgeo-bc462301695b3766fadae920ecc5ac6c3f35828b.tar.gz
cgeo-bc462301695b3766fadae920ecc5ac6c3f35828b.tar.bz2
Add information about the user PM status into the log
Diffstat (limited to 'main')
-rw-r--r--main/src/cgeo/geocaching/network/Login.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/network/Login.java b/main/src/cgeo/geocaching/network/Login.java
index 7d43fa8..be80a19 100644
--- a/main/src/cgeo/geocaching/network/Login.java
+++ b/main/src/cgeo/geocaching/network/Login.java
@@ -82,7 +82,7 @@ public abstract class Login {
}
if (Login.getLoginStatus(loginData)) {
- Log.i(Settings.tag, "Already logged in Geocaching.com as " + login.left);
+ Log.i(Settings.tag, "Already logged in Geocaching.com as " + login.left + " (" + getActualMemberStatus() + ')');
Login.switchToEnglish(loginData);
return StatusCode.NO_ERROR; // logged in
}
@@ -109,7 +109,7 @@ public abstract class Login {
if (StringUtils.isNotBlank(loginData)) {
if (Login.getLoginStatus(loginData)) {
- Log.i(Settings.tag, "Successfully logged in Geocaching.com as " + login.left);
+ Log.i(Settings.tag, "Successfully logged in Geocaching.com as " + login.left + " (" + getActualMemberStatus() + ')');
Login.switchToEnglish(loginData);
Settings.setCookieStore(Network.dumpCookieStore());