diff options
author | Adam Frisby | 2007-12-04 10:13:13 +0000 |
---|---|---|
committer | Adam Frisby | 2007-12-04 10:13:13 +0000 |
commit | 91c1e8a7347cd4909a3fa0c6be78bfb9ba9519f0 (patch) | |
tree | 7197561681677d4bd7202d9c7a49757b28bccd04 /OpenSim | |
parent | removed old svn eol-style property (diff) | |
download | opensim-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 '')
20 files changed, 54 insertions, 54 deletions
diff --git a/OpenSim/Framework/ConfigurationMember.cs b/OpenSim/Framework/ConfigurationMember.cs index 15008ae..271c02c 100644 --- a/OpenSim/Framework/ConfigurationMember.cs +++ b/OpenSim/Framework/ConfigurationMember.cs | |||
@@ -147,19 +147,19 @@ namespace OpenSim.Framework | |||
147 | return; | 147 | return; |
148 | } | 148 | } |
149 | 149 | ||
150 | MainLog.Instance.Verbose("Calling Configuration Load Function..."); | 150 | MainLog.Instance.Verbose("CONFIG", "Calling Configuration Load Function..."); |
151 | this.loadFunction(); | 151 | this.loadFunction(); |
152 | 152 | ||
153 | if(configurationOptions.Count <= 0) | 153 | if(configurationOptions.Count <= 0) |
154 | { | 154 | { |
155 | MainLog.Instance.Error("No configuration options were specified for '" + this.configurationOptions + "'. Refusing to continue configuration."); | 155 | MainLog.Instance.Error("CONFIG", "No configuration options were specified for '" + this.configurationOptions + "'. Refusing to continue configuration."); |
156 | return; | 156 | return; |
157 | } | 157 | } |
158 | 158 | ||
159 | bool useFile = true; | 159 | bool useFile = true; |
160 | if (configurationPlugin == null) | 160 | if (configurationPlugin == null) |
161 | { | 161 | { |
162 | MainLog.Instance.Error("Configuration Plugin NOT LOADED!"); | 162 | MainLog.Instance.Error("CONFIG", "Configuration Plugin NOT LOADED!"); |
163 | return; | 163 | return; |
164 | } | 164 | } |
165 | 165 | ||
diff --git a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs index 744d190..41450dc 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs | |||
@@ -183,10 +183,10 @@ namespace OpenSim.Framework.Data.MySQL | |||
183 | catch (Exception e) | 183 | catch (Exception e) |
184 | { | 184 | { |
185 | MainLog.Instance.Error("DATASTORE", "Failed create prim object, exception and data follows"); | 185 | MainLog.Instance.Error("DATASTORE", "Failed create prim object, exception and data follows"); |
186 | MainLog.Instance.Verbose(e.ToString()); | 186 | MainLog.Instance.Verbose("DATASTORE", e.ToString()); |
187 | foreach (DataColumn col in prims.Columns) | 187 | foreach (DataColumn col in prims.Columns) |
188 | { | 188 | { |
189 | MainLog.Instance.Verbose("Col: " + col.ColumnName + " => " + primRow[col]); | 189 | MainLog.Instance.Verbose("DATASTORE", "Col: " + col.ColumnName + " => " + primRow[col]); |
190 | } | 190 | } |
191 | } | 191 | } |
192 | } | 192 | } |
diff --git a/OpenSim/Framework/Data.MySQL/MySQLManager.cs b/OpenSim/Framework/Data.MySQL/MySQLManager.cs index 3c31d37..178a4cd 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLManager.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLManager.cs | |||
@@ -71,7 +71,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
71 | 71 | ||
72 | dbcon.Open(); | 72 | dbcon.Open(); |
73 | 73 | ||
74 | MainLog.Instance.Verbose("MySQL connection established"); | 74 | MainLog.Instance.Verbose("MYSQL", "Connection established"); |
75 | } | 75 | } |
76 | catch (Exception e) | 76 | catch (Exception e) |
77 | { | 77 | { |
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); |
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index c03c4f0..c834690 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -84,14 +84,14 @@ namespace OpenSim.Grid.UserServer | |||
84 | { | 84 | { |
85 | Cfg = new UserConfig("USER SERVER", (Path.Combine(Util.configDir(), "UserServer_Config.xml"))); | 85 | Cfg = new UserConfig("USER SERVER", (Path.Combine(Util.configDir(), "UserServer_Config.xml"))); |
86 | 86 | ||
87 | MainLog.Instance.Verbose("Main.cs:Startup() - Establishing data connection"); | 87 | MainLog.Instance.Verbose("REGION", "Establishing data connection"); |
88 | m_userManager = new UserManager(); | 88 | m_userManager = new UserManager(); |
89 | m_userManager._config = Cfg; | 89 | m_userManager._config = Cfg; |
90 | m_userManager.AddPlugin(Cfg.DatabaseProvider); | 90 | m_userManager.AddPlugin(Cfg.DatabaseProvider); |
91 | 91 | ||
92 | m_loginService = new UserLoginService(m_userManager, Cfg, Cfg.DefaultStartupMsg); | 92 | m_loginService = new UserLoginService(m_userManager, Cfg, Cfg.DefaultStartupMsg); |
93 | 93 | ||
94 | MainLog.Instance.Verbose("Main.cs:Startup() - Starting HTTP process"); | 94 | MainLog.Instance.Verbose("REGION", "Starting HTTP process"); |
95 | BaseHttpServer httpServer = new BaseHttpServer((int) Cfg.HttpPort); | 95 | BaseHttpServer httpServer = new BaseHttpServer((int) Cfg.HttpPort); |
96 | 96 | ||
97 | httpServer.AddXmlRPCHandler("login_to_simulator", m_loginService.XmlRpcLoginMethod); | 97 | httpServer.AddXmlRPCHandler("login_to_simulator", m_loginService.XmlRpcLoginMethod); |
diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs index ef4b82d..4d1328e 100644 --- a/OpenSim/Grid/UserServer/UserLoginService.cs +++ b/OpenSim/Grid/UserServer/UserLoginService.cs | |||
@@ -78,7 +78,7 @@ namespace OpenSim.Grid.UserServer | |||
78 | theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}"; | 78 | theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}"; |
79 | 79 | ||
80 | // Destination | 80 | // Destination |
81 | MainLog.Instance.Verbose("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + | 81 | MainLog.Instance.Verbose("LOGIN", "CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + |
82 | SimInfo.regionLocY); | 82 | SimInfo.regionLocY); |
83 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); | 83 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); |
84 | response.SimPort = (Int32)SimInfo.serverPort; | 84 | response.SimPort = (Int32)SimInfo.serverPort; |
@@ -90,7 +90,7 @@ namespace OpenSim.Grid.UserServer | |||
90 | response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/"; | 90 | response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/"; |
91 | 91 | ||
92 | // Notify the target of an incoming user | 92 | // Notify the target of an incoming user |
93 | MainLog.Instance.Verbose("Notifying " + SimInfo.regionName + " (" + SimInfo.serverURI + ")"); | 93 | MainLog.Instance.Verbose("LOGIN", "Notifying " + SimInfo.regionName + " (" + SimInfo.serverURI + ")"); |
94 | 94 | ||
95 | // Prepare notification | 95 | // Prepare notification |
96 | Hashtable SimParams = new Hashtable(); | 96 | Hashtable SimParams = new Hashtable(); |
@@ -112,7 +112,7 @@ namespace OpenSim.Grid.UserServer | |||
112 | theUser.currentAgent.currentRegion = SimInfo.UUID; | 112 | theUser.currentAgent.currentRegion = SimInfo.UUID; |
113 | theUser.currentAgent.currentHandle = SimInfo.regionHandle; | 113 | theUser.currentAgent.currentHandle = SimInfo.regionHandle; |
114 | 114 | ||
115 | MainLog.Instance.Verbose("Informing region --> " + SimInfo.httpServerURI); | 115 | MainLog.Instance.Verbose("LOGIN", "Informing region at " + SimInfo.httpServerURI); |
116 | // Send | 116 | // Send |
117 | 117 | ||
118 | XmlRpcRequest GridReq = new XmlRpcRequest("expect_user", SendParams); | 118 | XmlRpcRequest GridReq = new XmlRpcRequest("expect_user", SendParams); |
@@ -146,7 +146,7 @@ namespace OpenSim.Grid.UserServer | |||
146 | theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}"; | 146 | theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}"; |
147 | 147 | ||
148 | // Destination | 148 | // Destination |
149 | MainLog.Instance.Verbose("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + | 149 | MainLog.Instance.Verbose("LOGIN", "CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + |
150 | SimInfo.regionLocY); | 150 | SimInfo.regionLocY); |
151 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); | 151 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); |
152 | response.SimPort = (Int32)SimInfo.serverPort; | 152 | response.SimPort = (Int32)SimInfo.serverPort; |
@@ -158,7 +158,7 @@ namespace OpenSim.Grid.UserServer | |||
158 | response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/"; | 158 | response.SeedCapability = SimInfo.httpServerURI + "CAPS/" + capsPath + "0000/"; |
159 | 159 | ||
160 | // Notify the target of an incoming user | 160 | // Notify the target of an incoming user |
161 | MainLog.Instance.Verbose("Notifying " + SimInfo.regionName + " (" + SimInfo.serverURI + ")"); | 161 | MainLog.Instance.Verbose("LOGIN", "Notifying " + SimInfo.regionName + " (" + SimInfo.serverURI + ")"); |
162 | 162 | ||
163 | // Update agent with target sim | 163 | // Update agent with target sim |
164 | theUser.currentAgent.currentRegion = SimInfo.UUID; | 164 | theUser.currentAgent.currentRegion = SimInfo.UUID; |
@@ -180,7 +180,7 @@ namespace OpenSim.Grid.UserServer | |||
180 | ArrayList SendParams = new ArrayList(); | 180 | ArrayList SendParams = new ArrayList(); |
181 | SendParams.Add(SimParams); | 181 | SendParams.Add(SimParams); |
182 | 182 | ||
183 | MainLog.Instance.Verbose("Informing region --> " + SimInfo.httpServerURI); | 183 | MainLog.Instance.Verbose("LOGIN", "Informing region at " + SimInfo.httpServerURI); |
184 | // Send | 184 | // Send |
185 | XmlRpcRequest GridReq = new XmlRpcRequest("expect_user", SendParams); | 185 | XmlRpcRequest GridReq = new XmlRpcRequest("expect_user", SendParams); |
186 | XmlRpcResponse GridResp = GridReq.Send(SimInfo.httpServerURI, 6000); | 186 | XmlRpcResponse GridResp = GridReq.Send(SimInfo.httpServerURI, 6000); |
@@ -188,8 +188,8 @@ namespace OpenSim.Grid.UserServer | |||
188 | 188 | ||
189 | catch (Exception e) | 189 | catch (Exception e) |
190 | { | 190 | { |
191 | MainLog.Instance.Warn("Default region also not available"); | 191 | MainLog.Instance.Warn("LOGIN", "Default region also not available"); |
192 | MainLog.Instance.Verbose(e.ToString()); | 192 | MainLog.Instance.Verbose("LOGIN", e.ToString()); |
193 | } | 193 | } |
194 | 194 | ||
195 | } | 195 | } |
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 50018ac..2e089b8 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -782,12 +782,12 @@ namespace OpenSim | |||
782 | 782 | ||
783 | if (m_sceneManager.CurrentScene == null) | 783 | if (m_sceneManager.CurrentScene == null) |
784 | { | 784 | { |
785 | MainLog.Instance.Verbose( | 785 | MainLog.Instance.Verbose("CONSOLE", |
786 | "Currently at Root level. To change region please use 'change-region <regioname>'"); | 786 | "Currently at Root level. To change region please use 'change-region <regioname>'"); |
787 | } | 787 | } |
788 | else | 788 | else |
789 | { | 789 | { |
790 | MainLog.Instance.Verbose("Current Region: " + m_sceneManager.CurrentScene.RegionInfo.RegionName + | 790 | MainLog.Instance.Verbose("CONSOLE", "Current Region: " + m_sceneManager.CurrentScene.RegionInfo.RegionName + |
791 | ". To change region please use 'change-region <regioname>'"); | 791 | ". To change region please use 'change-region <regioname>'"); |
792 | } | 792 | } |
793 | 793 | ||
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 1c16a95..56ab5d6 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -453,11 +453,11 @@ namespace OpenSim.Region.ClientStack | |||
453 | if (bytesSent > throttleOutboundMax) | 453 | if (bytesSent > throttleOutboundMax) |
454 | { | 454 | { |
455 | PacketQueue.Enqueue(nextPacket); | 455 | PacketQueue.Enqueue(nextPacket); |
456 | MainLog.Instance.Verbose("Client over throttle limit, requeuing packet"); | 456 | MainLog.Instance.Verbose("THROTTLE", "Client over throttle limit, requeuing packet"); |
457 | 457 | ||
458 | if (queuedLast) | 458 | if (queuedLast) |
459 | { | 459 | { |
460 | MainLog.Instance.Verbose("No more sendable packets, need to sleep now"); | 460 | MainLog.Instance.Verbose("THROTTLE", "No more sendable packets, need to sleep now"); |
461 | Thread.Sleep(100); // Wait a little while if this was the last packet we saw | 461 | Thread.Sleep(100); // Wait a little while if this was the last packet we saw |
462 | } | 462 | } |
463 | 463 | ||
@@ -2485,7 +2485,7 @@ namespace OpenSim.Region.ClientStack | |||
2485 | { | 2485 | { |
2486 | if ((now - packet.TickCount > RESEND_TIMEOUT) && (!packet.Header.Resent)) | 2486 | if ((now - packet.TickCount > RESEND_TIMEOUT) && (!packet.Header.Resent)) |
2487 | { | 2487 | { |
2488 | MainLog.Instance.Verbose("Resending " + packet.Type.ToString() + " packet, " + | 2488 | MainLog.Instance.Verbose("NETWORK", "Resending " + packet.Type.ToString() + " packet, " + |
2489 | (now - packet.TickCount) + "ms have passed"); | 2489 | (now - packet.TickCount) + "ms have passed"); |
2490 | 2490 | ||
2491 | packet.Header.Resent = true; | 2491 | packet.Header.Resent = true; |
@@ -2504,7 +2504,7 @@ namespace OpenSim.Region.ClientStack | |||
2504 | if (PendingAcks.Count > 250) | 2504 | if (PendingAcks.Count > 250) |
2505 | { | 2505 | { |
2506 | // FIXME: Handle the odd case where we have too many pending ACKs queued up | 2506 | // FIXME: Handle the odd case where we have too many pending ACKs queued up |
2507 | MainLog.Instance.Verbose("Too many ACKs queued up!"); | 2507 | MainLog.Instance.Verbose("NETWORK", "Too many ACKs queued up!"); |
2508 | return; | 2508 | return; |
2509 | } | 2509 | } |
2510 | 2510 | ||
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs index 4c0c02d..5b43fec 100644 --- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs +++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs | |||
@@ -79,7 +79,7 @@ namespace OpenSim.Region.ClientStack | |||
79 | 79 | ||
80 | m_httpServer = new BaseHttpServer(m_httpServerPort); | 80 | m_httpServer = new BaseHttpServer(m_httpServerPort); |
81 | 81 | ||
82 | m_log.Verbose("Starting HTTP server"); | 82 | m_log.Status("REGION", "Starting HTTP server"); |
83 | m_httpServer.Start(); | 83 | m_httpServer.Start(); |
84 | } | 84 | } |
85 | 85 | ||
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index f4e858b..b11a91f 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -433,7 +433,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
433 | 433 | ||
434 | m_localBackend.TriggerExpectUser(regionHandle, agentData); | 434 | m_localBackend.TriggerExpectUser(regionHandle, agentData); |
435 | 435 | ||
436 | MainLog.Instance.Verbose("ExpectUser() - Welcoming new user..."); | 436 | MainLog.Instance.Verbose("GRID", "Welcoming new user..."); |
437 | 437 | ||
438 | return new XmlRpcResponse(); | 438 | return new XmlRpcResponse(); |
439 | } | 439 | } |
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index b841154..475066e 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
50 | { | 50 | { |
51 | if (data.Contains("error_type")) | 51 | if (data.Contains("error_type")) |
52 | { | 52 | { |
53 | Console.WriteLine("Error sent by user server when trying to get user profile: (" + data["error_type"] + | 53 | OpenSim.Framework.Console.MainLog.Instance.Warn("GRID", "Error sent by user server when trying to get user profile: (" + data["error_type"] + |
54 | "): " + data["error_desc"]); | 54 | "): " + data["error_desc"]); |
55 | return null; | 55 | return null; |
56 | } | 56 | } |
diff --git a/OpenSim/Region/Environment/Modules/ChatModule.cs b/OpenSim/Region/Environment/Modules/ChatModule.cs index 82cec82..924972b 100644 --- a/OpenSim/Region/Environment/Modules/ChatModule.cs +++ b/OpenSim/Region/Environment/Modules/ChatModule.cs | |||
@@ -306,7 +306,7 @@ namespace OpenSim.Region.Environment.Modules | |||
306 | } | 306 | } |
307 | catch (Exception) | 307 | catch (Exception) |
308 | { | 308 | { |
309 | Console.WriteLine("No IRC config information, skipping IRC bridge configuration"); | 309 | OpenSim.Framework.Console.MainLog.Instance.Verbose("CHAT", "No IRC config information, skipping IRC bridge configuration"); |
310 | } | 310 | } |
311 | m_log = MainLog.Instance; | 311 | m_log = MainLog.Instance; |
312 | } | 312 | } |
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index cceaa14..290629c 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs | |||
@@ -700,7 +700,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
700 | } | 700 | } |
701 | else | 701 | else |
702 | { | 702 | { |
703 | OpenSim.Framework.Console.MainLog.Instance.Verbose( | 703 | OpenSim.Framework.Console.MainLog.Instance.Verbose("SCENE", |
704 | "DelinkObjects(): Could not find a root prim out of {0} as given to a delink request!", | 704 | "DelinkObjects(): Could not find a root prim out of {0} as given to a delink request!", |
705 | primIds); | 705 | primIds); |
706 | } | 706 | } |
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index e671038..f9cace2 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -239,12 +239,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
239 | 239 | ||
240 | RegisterDefaultSceneEvents(); | 240 | RegisterDefaultSceneEvents(); |
241 | 241 | ||
242 | MainLog.Instance.Verbose("Creating new entitities instance"); | 242 | MainLog.Instance.Verbose("SCENE", "Creating new entitities instance"); |
243 | Entities = new Dictionary<LLUUID, EntityBase>(); | 243 | Entities = new Dictionary<LLUUID, EntityBase>(); |
244 | m_scenePresences = new Dictionary<LLUUID, ScenePresence>(); | 244 | m_scenePresences = new Dictionary<LLUUID, ScenePresence>(); |
245 | m_sceneObjects = new Dictionary<LLUUID, SceneObjectGroup>(); | 245 | m_sceneObjects = new Dictionary<LLUUID, SceneObjectGroup>(); |
246 | 246 | ||
247 | MainLog.Instance.Verbose("Creating LandMap"); | 247 | MainLog.Instance.Verbose("SCENE", "Creating LandMap"); |
248 | Terrain = new TerrainEngine((int)RegionInfo.RegionLocX, (int)RegionInfo.RegionLocY); | 248 | Terrain = new TerrainEngine((int)RegionInfo.RegionLocX, (int)RegionInfo.RegionLocY); |
249 | 249 | ||
250 | ScenePresence.LoadAnims(); | 250 | ScenePresence.LoadAnims(); |
@@ -727,7 +727,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
727 | /// </summary> | 727 | /// </summary> |
728 | public virtual void LoadPrimsFromStorage(bool m_permissions) | 728 | public virtual void LoadPrimsFromStorage(bool m_permissions) |
729 | { | 729 | { |
730 | MainLog.Instance.Verbose("Loading objects from datastore"); | 730 | MainLog.Instance.Verbose("SCENE", "Loading objects from datastore"); |
731 | List<SceneObjectGroup> PrimsFromDB = m_storageManager.DataStore.LoadObjects(m_regInfo.RegionID); | 731 | List<SceneObjectGroup> PrimsFromDB = m_storageManager.DataStore.LoadObjects(m_regInfo.RegionID); |
732 | foreach (SceneObjectGroup prim in PrimsFromDB) | 732 | foreach (SceneObjectGroup prim in PrimsFromDB) |
733 | { | 733 | { |
@@ -759,7 +759,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
759 | rootPart.RotationOffset.Y, rootPart.RotationOffset.Z), UsePhysics); | 759 | rootPart.RotationOffset.Y, rootPart.RotationOffset.Z), UsePhysics); |
760 | rootPart.DoPhysicsPropertyUpdate(UsePhysics, true); | 760 | rootPart.DoPhysicsPropertyUpdate(UsePhysics, true); |
761 | } | 761 | } |
762 | MainLog.Instance.Verbose("Loaded " + PrimsFromDB.Count.ToString() + " SceneObject(s)"); | 762 | MainLog.Instance.Verbose("SCENE", "Loaded " + PrimsFromDB.Count.ToString() + " SceneObject(s)"); |
763 | } | 763 | } |
764 | 764 | ||
765 | 765 | ||
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 193677e..eb8b767 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -943,7 +943,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
943 | } | 943 | } |
944 | else | 944 | else |
945 | { | 945 | { |
946 | OpenSim.Framework.Console.MainLog.Instance.Verbose( | 946 | OpenSim.Framework.Console.MainLog.Instance.Verbose("SCENE", |
947 | "DelinkFromGroup(): Child prim local id {0} not found in object with root prim id {1}", | 947 | "DelinkFromGroup(): Child prim local id {0} not found in object with root prim id {1}", |
948 | partID, LocalId); | 948 | partID, LocalId); |
949 | } | 949 | } |
diff --git a/OpenSim/Region/ExtensionsScriptModule/Script.cs b/OpenSim/Region/ExtensionsScriptModule/Script.cs index 5f85799..350ca2d 100644 --- a/OpenSim/Region/ExtensionsScriptModule/Script.cs +++ b/OpenSim/Region/ExtensionsScriptModule/Script.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
53 | 53 | ||
54 | private void events_OnNewPresence(ScenePresence presence) | 54 | private void events_OnNewPresence(ScenePresence presence) |
55 | { | 55 | { |
56 | script.logger.Verbose("Hello " + presence.Firstname.ToString() + "!"); | 56 | script.logger.Verbose("TESTSCRIPT", "Hello " + presence.Firstname.ToString() + "!"); |
57 | } | 57 | } |
58 | 58 | ||
59 | private void events_OnFrame() | 59 | private void events_OnFrame() |
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs index 8cd94c3..dd70ad5 100644 --- a/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs +++ b/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs | |||
@@ -48,12 +48,12 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
48 | { | 48 | { |
49 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); | 49 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); |
50 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. | 50 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. |
51 | MainLog.Instance.Verbose("Loading " + script.Key); | 51 | MainLog.Instance.Verbose("SCRIPT", "Loading " + script.Key); |
52 | script.Value.Initialise(scriptInfo); | 52 | script.Value.Initialise(scriptInfo); |
53 | scripts.Add(script.Value); | 53 | scripts.Add(script.Value); |
54 | } | 54 | } |
55 | 55 | ||
56 | MainLog.Instance.Verbose(string.Format("Finished loading {0} script(s)", compiledscripts.Count)); | 56 | MainLog.Instance.Verbose("SCRIPT", string.Format("Finished loading {0} script(s)", compiledscripts.Count)); |
57 | } | 57 | } |
58 | 58 | ||
59 | public ScriptManager() | 59 | public ScriptManager() |
@@ -125,7 +125,7 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
125 | 125 | ||
126 | public bool AddPreCompiledScript(IScript script) | 126 | public bool AddPreCompiledScript(IScript script) |
127 | { | 127 | { |
128 | MainLog.Instance.Verbose("Loading script " + script.Name); | 128 | MainLog.Instance.Verbose("SCRIPT", "Loading script " + script.Name); |
129 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); | 129 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); |
130 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. | 130 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. |
131 | script.Initialise(scriptInfo); | 131 | script.Initialise(scriptInfo); |
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs index 635b208..56a1842 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs | |||
@@ -92,7 +92,7 @@ namespace OpenSim.Region.Physics.Manager | |||
92 | 92 | ||
93 | public override PhysicsActor AddAvatar(string avName, PhysicsVector position) | 93 | public override PhysicsActor AddAvatar(string avName, PhysicsVector position) |
94 | { | 94 | { |
95 | MainLog.Instance.Verbose("NullPhysicsScene : AddAvatar({0})", position); | 95 | MainLog.Instance.Verbose("PHYSICS", "NullPhysicsScene : AddAvatar({0})", position); |
96 | return PhysicsActor.Null; | 96 | return PhysicsActor.Null; |
97 | } | 97 | } |
98 | 98 | ||
@@ -119,7 +119,7 @@ namespace OpenSim.Region.Physics.Manager | |||
119 | public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, PhysicsVector position, | 119 | public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, PhysicsVector position, |
120 | PhysicsVector size, Quaternion rotation, bool isPhysical) | 120 | PhysicsVector size, Quaternion rotation, bool isPhysical) |
121 | { | 121 | { |
122 | MainLog.Instance.Verbose("NullPhysicsScene : AddPrim({0},{1})", position, size); | 122 | MainLog.Instance.Verbose("PHYSICS", "NullPhysicsScene : AddPrim({0},{1})", position, size); |
123 | return PhysicsActor.Null; | 123 | return PhysicsActor.Null; |
124 | } | 124 | } |
125 | public override void AddPhysicsActorTaint(PhysicsActor prim) | 125 | public override void AddPhysicsActorTaint(PhysicsActor prim) |
@@ -135,12 +135,12 @@ namespace OpenSim.Region.Physics.Manager | |||
135 | 135 | ||
136 | public override void GetResults() | 136 | public override void GetResults() |
137 | { | 137 | { |
138 | MainLog.Instance.Verbose("NullPhysicsScene : GetResults()"); | 138 | MainLog.Instance.Verbose("PHYSICS", "NullPhysicsScene : GetResults()"); |
139 | } | 139 | } |
140 | 140 | ||
141 | public override void SetTerrain(float[] heightMap) | 141 | public override void SetTerrain(float[] heightMap) |
142 | { | 142 | { |
143 | MainLog.Instance.Verbose("NullPhysicsScene : SetTerrain({0} items)", heightMap.Length); | 143 | MainLog.Instance.Verbose("PHYSICS", "NullPhysicsScene : SetTerrain({0} items)", heightMap.Length); |
144 | } | 144 | } |
145 | 145 | ||
146 | public override void DeleteTerrain() | 146 | public override void DeleteTerrain() |
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index 83d3d82..5285b82 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | |||
@@ -248,10 +248,10 @@ namespace OpenSim.DataStore.MonoSqlite | |||
248 | catch (Exception e) | 248 | catch (Exception e) |
249 | { | 249 | { |
250 | MainLog.Instance.Error("DATASTORE", "Failed create prim object, exception and data follows"); | 250 | MainLog.Instance.Error("DATASTORE", "Failed create prim object, exception and data follows"); |
251 | MainLog.Instance.Verbose(e.ToString()); | 251 | MainLog.Instance.Verbose("DATASTORE", e.ToString()); |
252 | foreach (DataColumn col in prims.Columns) | 252 | foreach (DataColumn col in prims.Columns) |
253 | { | 253 | { |
254 | MainLog.Instance.Verbose("Col: " + col.ColumnName + " => " + primRow[col]); | 254 | MainLog.Instance.Verbose("DATASTORE", "Col: " + col.ColumnName + " => " + primRow[col]); |
255 | } | 255 | } |
256 | } | 256 | } |
257 | } | 257 | } |