minor: formatting, change some logging messages

0.6.8-post-fixes
Justin Clark-Casey (justincc) 2009-12-01 12:21:16 +00:00
parent 716cbeed1d
commit 613f3bb3ce
2 changed files with 6 additions and 8 deletions

View File

@ -50,7 +50,10 @@ namespace OpenSim.Grid.MessagingServer.Modules
private IGridServiceCore m_messageCore; private IGridServiceCore m_messageCore;
private Timer reconnectTimer = new Timer(300000); // 5 mins /// <value>
/// Reregister with the user service every 5 minutes
/// </value>
private Timer reconnectTimer = new Timer(300000);
public InterMessageUserServerModule(MessageServerConfig config, IGridServiceCore messageCore) public InterMessageUserServerModule(MessageServerConfig config, IGridServiceCore messageCore)
{ {
@ -69,13 +72,11 @@ namespace OpenSim.Grid.MessagingServer.Modules
public void PostInitialise() public void PostInitialise()
{ {
} }
public void RegisterHandlers() 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) public void registerWithUserServer(object sender, ElapsedEventArgs e)
@ -121,7 +122,7 @@ namespace OpenSim.Grid.MessagingServer.Modules
if (!GridRespData.ContainsKey("responsestring")) if (!GridRespData.ContainsKey("responsestring"))
success = false; success = false;
else else
m_log.InfoFormat("[SERVER] Registered with {0}", srv); m_log.DebugFormat("[SERVER]: Registered with user service at {0}", srv);
} }
catch catch
{ {

View File

@ -92,7 +92,6 @@ namespace OpenSim.Grid.MessagingServer.Modules
public void RegisterHandlers() 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.
} }
#region FriendList Methods #region FriendList Methods
@ -361,7 +360,6 @@ namespace OpenSim.Grid.MessagingServer.Modules
up.OnlineYN = true; up.OnlineYN = true;
up.lookupUserRegionYN = false; up.lookupUserRegionYN = false;
ProcessFriendListSubscriptions(up); ProcessFriendListSubscriptions(up);
} }
catch (Exception e) catch (Exception e)
{ {
@ -369,7 +367,6 @@ namespace OpenSim.Grid.MessagingServer.Modules
} }
return new XmlRpcResponse(); return new XmlRpcResponse();
} }
/// <summary> /// <summary>