diff options
author | John Hurliman | 2010-03-26 15:13:55 -0700 |
---|---|---|
committer | John Hurliman | 2010-03-26 15:13:55 -0700 |
commit | 1430441cf32c659502c6ed1bd7fd54e55a107c05 (patch) | |
tree | 23e3e318fc2b043e1f5ec9c8dc3dee436b8fbfa1 /OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-1430441cf32c659502c6ed1bd7fd54e55a107c05.zip opensim-SC_OLD-1430441cf32c659502c6ed1bd7fd54e55a107c05.tar.gz opensim-SC_OLD-1430441cf32c659502c6ed1bd7fd54e55a107c05.tar.bz2 opensim-SC_OLD-1430441cf32c659502c6ed1bd7fd54e55a107c05.tar.xz |
Change the SimianGrid connector log messages to start with "[SIMIAN " to avoid configuration confusion
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs index 89eb72d..89f3594 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs | |||
@@ -89,14 +89,14 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
89 | IConfig assetConfig = source.Configs["FriendsService"]; | 89 | IConfig assetConfig = source.Configs["FriendsService"]; |
90 | if (assetConfig == null) | 90 | if (assetConfig == null) |
91 | { | 91 | { |
92 | m_log.Error("[FRIENDS CONNECTOR]: FriendsService missing from OpenSim.ini"); | 92 | m_log.Error("[SIMIAN FRIENDS CONNECTOR]: FriendsService missing from OpenSim.ini"); |
93 | throw new Exception("Friends connector init error"); | 93 | throw new Exception("Friends connector init error"); |
94 | } | 94 | } |
95 | 95 | ||
96 | string serviceURI = assetConfig.GetString("FriendsServerURI"); | 96 | string serviceURI = assetConfig.GetString("FriendsServerURI"); |
97 | if (String.IsNullOrEmpty(serviceURI)) | 97 | if (String.IsNullOrEmpty(serviceURI)) |
98 | { | 98 | { |
99 | m_log.Error("[FRIENDS CONNECTOR]: No Server URI named in section FriendsService"); | 99 | m_log.Error("[SIMIAN FRIENDS CONNECTOR]: No Server URI named in section FriendsService"); |
100 | throw new Exception("Friends connector init error"); | 100 | throw new Exception("Friends connector init error"); |
101 | } | 101 | } |
102 | 102 | ||
@@ -169,7 +169,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
169 | bool success = response["Success"].AsBoolean(); | 169 | bool success = response["Success"].AsBoolean(); |
170 | 170 | ||
171 | if (!success) | 171 | if (!success) |
172 | m_log.Error("[FRIENDS CONNECTOR]: Failed to store friend " + friend + " for user " + principalID + ": " + response["Message"].AsString()); | 172 | m_log.Error("[SIMIAN FRIENDS CONNECTOR]: Failed to store friend " + friend + " for user " + principalID + ": " + response["Message"].AsString()); |
173 | 173 | ||
174 | return success; | 174 | return success; |
175 | } | 175 | } |
@@ -188,7 +188,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
188 | bool success = response["Success"].AsBoolean(); | 188 | bool success = response["Success"].AsBoolean(); |
189 | 189 | ||
190 | if (!success) | 190 | if (!success) |
191 | m_log.Error("[FRIENDS CONNECTOR]: Failed to remove friend " + friend + " for user " + principalID + ": " + response["Message"].AsString()); | 191 | m_log.Error("[SIMIAN FRIENDS CONNECTOR]: Failed to remove friend " + friend + " for user " + principalID + ": " + response["Message"].AsString()); |
192 | 192 | ||
193 | return success; | 193 | return success; |
194 | } | 194 | } |
@@ -211,7 +211,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
211 | } | 211 | } |
212 | else | 212 | else |
213 | { | 213 | { |
214 | m_log.Warn("[FRIENDS CONNECTOR]: Failed to retrieve friends for user " + ownerID + ": " + response["Message"].AsString()); | 214 | m_log.Warn("[SIMIAN FRIENDS CONNECTOR]: Failed to retrieve friends for user " + ownerID + ": " + response["Message"].AsString()); |
215 | return new OSDArray(0); | 215 | return new OSDArray(0); |
216 | } | 216 | } |
217 | } | 217 | } |
@@ -232,7 +232,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
232 | } | 232 | } |
233 | else | 233 | else |
234 | { | 234 | { |
235 | m_log.Warn("[FRIENDS CONNECTOR]: Failed to retrieve reverse friends for user " + ownerID + ": " + response["Message"].AsString()); | 235 | m_log.Warn("[SIMIAN FRIENDS CONNECTOR]: Failed to retrieve reverse friends for user " + ownerID + ": " + response["Message"].AsString()); |
236 | return new OSDArray(0); | 236 | return new OSDArray(0); |
237 | } | 237 | } |
238 | } | 238 | } |