aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/GridServer
diff options
context:
space:
mode:
authorAdam Frisby2007-12-04 10:13:13 +0000
committerAdam Frisby2007-12-04 10:13:13 +0000
commit91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0 (patch)
tree7197561681677d4bd7202d9c7a49757b28bccd04 /OpenSim/Grid/GridServer
parentremoved old svn eol-style property (diff)
downloadopensim-SC-91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0.zip
opensim-SC-91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0.tar.gz
opensim-SC-91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0.tar.bz2
opensim-SC-91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0.tar.xz
* Fixed a whole bunch of console messages.
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/GridServer/GridManager.cs18
-rw-r--r--OpenSim/Grid/GridServer/Main.cs6
2 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs
index 691ed57..404fbdc 100644
--- a/OpenSim/Grid/GridServer/GridManager.cs
+++ b/OpenSim/Grid/GridServer/GridManager.cs
@@ -52,10 +52,10 @@ namespace OpenSim.Grid.GridServer
52 /// <param name="FileName">The filename to the grid server plugin DLL</param> 52 /// <param name="FileName">The filename to the grid server plugin DLL</param>
53 public void AddPlugin(string FileName) 53 public void AddPlugin(string FileName)
54 { 54 {
55 MainLog.Instance.Verbose("Storage: Attempting to load " + FileName); 55 MainLog.Instance.Verbose("DATA", "Attempting to load " + FileName);
56 Assembly pluginAssembly = Assembly.LoadFrom(FileName); 56 Assembly pluginAssembly = Assembly.LoadFrom(FileName);
57 57
58 MainLog.Instance.Verbose("Storage: Found " + pluginAssembly.GetTypes().Length + " interfaces."); 58 MainLog.Instance.Verbose("DATA", "Found " + pluginAssembly.GetTypes().Length + " interfaces.");
59 foreach (Type pluginType in pluginAssembly.GetTypes()) 59 foreach (Type pluginType in pluginAssembly.GetTypes())
60 { 60 {
61 if (!pluginType.IsAbstract) 61 if (!pluginType.IsAbstract)
@@ -69,7 +69,7 @@ namespace OpenSim.Grid.GridServer
69 (IGridData) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); 69 (IGridData) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString()));
70 plug.Initialise(); 70 plug.Initialise();
71 _plugins.Add(plug.getName(), plug); 71 _plugins.Add(plug.getName(), plug);
72 MainLog.Instance.Verbose("Storage: Added IGridData Interface"); 72 MainLog.Instance.Verbose("DATA", "Added IGridData Interface");
73 } 73 }
74 74
75 typeInterface = null; 75 typeInterface = null;
@@ -83,7 +83,7 @@ namespace OpenSim.Grid.GridServer
83 (ILogData) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); 83 (ILogData) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString()));
84 plug.Initialise(); 84 plug.Initialise();
85 _logplugins.Add(plug.getName(), plug); 85 _logplugins.Add(plug.getName(), plug);
86 MainLog.Instance.Verbose("Storage: Added ILogData Interface"); 86 MainLog.Instance.Verbose("DATA", "Added ILogData Interface");
87 } 87 }
88 88
89 typeInterface = null; 89 typeInterface = null;
@@ -469,7 +469,7 @@ namespace OpenSim.Grid.GridServer
469 { 469 {
470 ymax = (Int32) requestData["ymax"]; 470 ymax = (Int32) requestData["ymax"];
471 } 471 }
472 MainLog.Instance.Verbose("World map request for range (" + xmin + "," + ymin + ")..(" + xmax + "," + ymax + ")"); 472 MainLog.Instance.Verbose("MAP", "World map request for range (" + xmin + "," + ymin + ")..(" + xmax + "," + ymax + ")");
473 473
474 XmlRpcResponse response = new XmlRpcResponse(); 474 XmlRpcResponse response = new XmlRpcResponse();
475 Hashtable responseData = new Hashtable(); 475 Hashtable responseData = new Hashtable();
@@ -507,7 +507,7 @@ namespace OpenSim.Grid.GridServer
507 507
508 simProfileList.Add(simProfileBlock); 508 simProfileList.Add(simProfileBlock);
509 } 509 }
510 MainLog.Instance.Verbose("World map request processed, returned " + simProfileList.Count.ToString() + 510 MainLog.Instance.Verbose("MAP", "World map request processed, returned " + simProfileList.Count.ToString() +
511 " region(s) in range via FastMode"); 511 " region(s) in range via FastMode");
512 } 512 }
513 else 513 else
@@ -542,7 +542,7 @@ namespace OpenSim.Grid.GridServer
542 } 542 }
543 } 543 }
544 } 544 }
545 MainLog.Instance.Verbose("World map request processed, returned " + simProfileList.Count.ToString() + 545 MainLog.Instance.Verbose("MAP", "World map request processed, returned " + simProfileList.Count.ToString() +
546 " region(s) in range via Standard Mode"); 546 " region(s) in range via Standard Mode");
547 } 547 }
548 548
@@ -708,7 +708,7 @@ namespace OpenSim.Grid.GridServer
708 708
709 try 709 try
710 { 710 {
711 MainLog.Instance.Verbose("Updating / adding via " + _plugins.Count + " storage provider(s) registered."); 711 MainLog.Instance.Verbose("DATA", "Updating / adding via " + _plugins.Count + " storage provider(s) registered.");
712 foreach (KeyValuePair<string, IGridData> kvp in _plugins) 712 foreach (KeyValuePair<string, IGridData> kvp in _plugins)
713 { 713 {
714 try 714 try
@@ -734,7 +734,7 @@ namespace OpenSim.Grid.GridServer
734 } 734 }
735 catch (Exception e) 735 catch (Exception e)
736 { 736 {
737 MainLog.Instance.Verbose("getRegionPlugin Handle " + kvp.Key + " unable to add new sim: " + 737 MainLog.Instance.Warn("GRID", "getRegionPlugin Handle " + kvp.Key + " unable to add new sim: " +
738 e.ToString()); 738 e.ToString());
739 } 739 }
740 } 740 }
diff --git a/OpenSim/Grid/GridServer/Main.cs b/OpenSim/Grid/GridServer/Main.cs
index 9b1892d..b793cf9 100644
--- a/OpenSim/Grid/GridServer/Main.cs
+++ b/OpenSim/Grid/GridServer/Main.cs
@@ -106,12 +106,12 @@ namespace OpenSim.Grid.GridServer
106 //Yeah srsly, that's it. 106 //Yeah srsly, that's it.
107 if (setuponly) Environment.Exit(0); 107 if (setuponly) Environment.Exit(0);
108 108
109 m_console.Verbose("Main.cs:Startup() - Connecting to Storage Server"); 109 m_console.Verbose("GRID", "Connecting to Storage Server");
110 m_gridManager = new GridManager(); 110 m_gridManager = new GridManager();
111 m_gridManager.AddPlugin(Cfg.DatabaseProvider); // Made of win 111 m_gridManager.AddPlugin(Cfg.DatabaseProvider); // Made of win
112 m_gridManager.config = Cfg; 112 m_gridManager.config = Cfg;
113 113
114 m_console.Verbose("Main.cs:Startup() - Starting HTTP process"); 114 m_console.Verbose("GRID", "Starting HTTP process");
115 BaseHttpServer httpServer = new BaseHttpServer((int) Cfg.HttpPort); 115 BaseHttpServer httpServer = new BaseHttpServer((int) Cfg.HttpPort);
116 //GridManagementAgent GridManagerAgent = new GridManagementAgent(httpServer, "gridserver", Cfg.SimSendKey, Cfg.SimRecvKey, managercallback); 116 //GridManagementAgent GridManagerAgent = new GridManagementAgent(httpServer, "gridserver", Cfg.SimSendKey, Cfg.SimRecvKey, managercallback);
117 117
@@ -132,7 +132,7 @@ namespace OpenSim.Grid.GridServer
132 132
133 httpServer.Start(); 133 httpServer.Start();
134 134
135 m_console.Verbose("Main.cs:Startup() - Starting sim status checker"); 135 m_console.Verbose("GRID", "Starting sim status checker");
136 136
137 Timer simCheckTimer = new Timer(3600000*3); // 3 Hours between updates. 137 Timer simCheckTimer = new Timer(3600000*3); // 3 Hours between updates.
138 simCheckTimer.Elapsed += new ElapsedEventHandler(CheckSims); 138 simCheckTimer.Elapsed += new ElapsedEventHandler(CheckSims);