summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-06-06 13:45:18 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-06-10 14:28:03 -0700
commit2237086d15c6b9b1366388ac9ac2cbda51de83b6 (patch)
treea544db4399f3071adf7b143db901197e42c41901
parent6f6e425d1282fc83de68d4251361bda21e52a061 (diff)
downloadceph-2237086d15c6b9b1366388ac9ac2cbda51de83b6.tar.gz
rgw: minor logging change
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--src/rgw/rgw_user.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rgw/rgw_user.cc b/src/rgw/rgw_user.cc
index 3880bf0884a..d5e341d4c8f 100644
--- a/src/rgw/rgw_user.cc
+++ b/src/rgw/rgw_user.cc
@@ -74,7 +74,8 @@ int rgw_store_user_info(RGWRados *store, RGWUserInfo& info, RGWUserInfo *old_inf
RGWUserInfo inf;
int r = rgw_get_user_info_by_swift(store, k.id, inf);
if (r >= 0 && inf.user_id.compare(info.user_id) != 0) {
- ldout(store->ctx(), 0) << "WARNING: can't store user info, swift id already mapped to another user" << dendl;
+ ldout(store->ctx(), 0) << "WARNING: can't store user info, swift id (" << k.id
+ << ") already mapped to another user (" << info.user_id << ")" << dendl;
return -EEXIST;
}
}