From 613f3bb3cecedc2b5bb5aefaf10c9a1e7c4fff81 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Tue, 1 Dec 2009 12:21:16 +0000
Subject: minor: formatting, change some logging messages
---
.../MessagingServer.Modules/InterMessageUserServerModule.cs | 11 ++++++-----
OpenSim/Grid/MessagingServer.Modules/MessageService.cs | 3 ---
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/OpenSim/Grid/MessagingServer.Modules/InterMessageUserServerModule.cs b/OpenSim/Grid/MessagingServer.Modules/InterMessageUserServerModule.cs
index ae04535..90490dc 100644
--- a/OpenSim/Grid/MessagingServer.Modules/InterMessageUserServerModule.cs
+++ b/OpenSim/Grid/MessagingServer.Modules/InterMessageUserServerModule.cs
@@ -50,7 +50,10 @@ namespace OpenSim.Grid.MessagingServer.Modules
private IGridServiceCore m_messageCore;
- private Timer reconnectTimer = new Timer(300000); // 5 mins
+ ///
+ /// Reregister with the user service every 5 minutes
+ ///
+ private Timer reconnectTimer = new Timer(300000);
public InterMessageUserServerModule(MessageServerConfig config, IGridServiceCore messageCore)
{
@@ -69,13 +72,11 @@ namespace OpenSim.Grid.MessagingServer.Modules
public void PostInitialise()
{
-
}
public void RegisterHandlers()
{
- //have these in separate method as some servers restart the http server and reregister all the handlers.
-
+ //have these in separate method as some servers restart the http server and reregister all the handlers.
}
public void registerWithUserServer(object sender, ElapsedEventArgs e)
@@ -121,7 +122,7 @@ namespace OpenSim.Grid.MessagingServer.Modules
if (!GridRespData.ContainsKey("responsestring"))
success = false;
else
- m_log.InfoFormat("[SERVER] Registered with {0}", srv);
+ m_log.DebugFormat("[SERVER]: Registered with user service at {0}", srv);
}
catch
{
diff --git a/OpenSim/Grid/MessagingServer.Modules/MessageService.cs b/OpenSim/Grid/MessagingServer.Modules/MessageService.cs
index 8ad1e9c..a3950ce 100644
--- a/OpenSim/Grid/MessagingServer.Modules/MessageService.cs
+++ b/OpenSim/Grid/MessagingServer.Modules/MessageService.cs
@@ -92,7 +92,6 @@ namespace OpenSim.Grid.MessagingServer.Modules
public void RegisterHandlers()
{
//have these in separate method as some servers restart the http server and reregister all the handlers.
-
}
#region FriendList Methods
@@ -361,7 +360,6 @@ namespace OpenSim.Grid.MessagingServer.Modules
up.OnlineYN = true;
up.lookupUserRegionYN = false;
ProcessFriendListSubscriptions(up);
-
}
catch (Exception e)
{
@@ -369,7 +367,6 @@ namespace OpenSim.Grid.MessagingServer.Modules
}
return new XmlRpcResponse();
-
}
///
--
cgit v1.1