]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: minor logging change
authorYehuda Sadeh <yehuda@inktank.com>
Thu, 6 Jun 2013 20:45:18 +0000 (13:45 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 10 Jun 2013 21:28:03 +0000 (14:28 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_user.cc

index 3880bf0884a500b7066f87be73eca726ecd1c490..d5e341d4c8fdbcfd171bea5141c2b0e4eba1f981 100644 (file)
@@ -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;
     }
   }