diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs index 546a121..48bb2df 100644 --- a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs | |||
@@ -1059,7 +1059,7 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles | |||
1059 | 1059 | ||
1060 | if (!GetProfileData(ref props, foreign, out result)) | 1060 | if (!GetProfileData(ref props, foreign, out result)) |
1061 | { | 1061 | { |
1062 | m_log.DebugFormat("Error getting profile for {0}: {1}", avatarID, result); | 1062 | // m_log.DebugFormat("Error getting profile for {0}: {1}", avatarID, result); |
1063 | return; | 1063 | return; |
1064 | } | 1064 | } |
1065 | 1065 | ||
@@ -1155,7 +1155,12 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles | |||
1155 | } | 1155 | } |
1156 | catch (Exception e) | 1156 | catch (Exception e) |
1157 | { | 1157 | { |
1158 | m_log.Debug(string.Format("Request using the OpenProfile API to {0} failed", serverURI), e); | 1158 | m_log.Debug( |
1159 | string.Format( | ||
1160 | "[PROFILES]: Request using the OpenProfile API for user {0} to {1} failed", | ||
1161 | properties.UserId, serverURI), | ||
1162 | e); | ||
1163 | |||
1159 | // Allow the return 'message' to say "JsonRpcRequest" and not "OpenProfile", because | 1164 | // Allow the return 'message' to say "JsonRpcRequest" and not "OpenProfile", because |
1160 | // the most likely reason that OpenProfile failed is that the remote server | 1165 | // the most likely reason that OpenProfile failed is that the remote server |
1161 | // doesn't support OpenProfile, and that's not very interesting. | 1166 | // doesn't support OpenProfile, and that's not very interesting. |
@@ -1164,7 +1169,9 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles | |||
1164 | 1169 | ||
1165 | if (!secondChanceSuccess) | 1170 | if (!secondChanceSuccess) |
1166 | { | 1171 | { |
1167 | message = string.Format("JsonRpcRequest to {0} failed", serverURI); | 1172 | message = string.Format("JsonRpcRequest for user {0} to {1} failed", properties.UserId, serverURI); |
1173 | m_log.DebugFormat("[PROFILES]: {0}", message); | ||
1174 | |||
1168 | return false; | 1175 | return false; |
1169 | } | 1176 | } |
1170 | // else, continue below | 1177 | // else, continue below |