aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers')
-rwxr-xr-xOpenSim/Framework/Servers/MainServer.cs10
-rwxr-xr-xOpenSim/Framework/Servers/ServerBase.cs10
2 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Framework/Servers/MainServer.cs b/OpenSim/Framework/Servers/MainServer.cs
index f4662fe..af6a63f 100755
--- a/OpenSim/Framework/Servers/MainServer.cs
+++ b/OpenSim/Framework/Servers/MainServer.cs
@@ -192,7 +192,7 @@ namespace OpenSim.Framework.Servers
192 192
193 if (!int.TryParse(rawNewDebug, out newDebug)) 193 if (!int.TryParse(rawNewDebug, out newDebug))
194 { 194 {
195 MainConsole.Instance.Output("{0} is not a valid debug level", null, rawNewDebug); 195 MainConsole.Instance.Output("{0} is not a valid debug level", rawNewDebug);
196 return; 196 return;
197 } 197 }
198 198
@@ -205,22 +205,22 @@ namespace OpenSim.Framework.Servers
205 if (allReqs || inReqs) 205 if (allReqs || inReqs)
206 { 206 {
207 MainServer.DebugLevel = newDebug; 207 MainServer.DebugLevel = newDebug;
208 MainConsole.Instance.Output("IN debug level set to {0}", null, newDebug); 208 MainConsole.Instance.Output("IN debug level set to {0}", newDebug);
209 } 209 }
210 210
211 if (allReqs || outReqs) 211 if (allReqs || outReqs)
212 { 212 {
213 WebUtil.DebugLevel = newDebug; 213 WebUtil.DebugLevel = newDebug;
214 MainConsole.Instance.Output("OUT debug level set to {0}", null, newDebug); 214 MainConsole.Instance.Output("OUT debug level set to {0}", newDebug);
215 } 215 }
216 } 216 }
217 else 217 else
218 { 218 {
219 if (allReqs || inReqs) 219 if (allReqs || inReqs)
220 MainConsole.Instance.Output("Current IN debug level is {0}", null, DebugLevel); 220 MainConsole.Instance.Output("Current IN debug level is {0}", DebugLevel);
221 221
222 if (allReqs || outReqs) 222 if (allReqs || outReqs)
223 MainConsole.Instance.Output("Current OUT debug level is {0}", null, WebUtil.DebugLevel); 223 MainConsole.Instance.Output("Current OUT debug level is {0}", WebUtil.DebugLevel);
224 } 224 }
225 } 225 }
226 226
diff --git a/OpenSim/Framework/Servers/ServerBase.cs b/OpenSim/Framework/Servers/ServerBase.cs
index 78341d4..8545012 100755
--- a/OpenSim/Framework/Servers/ServerBase.cs
+++ b/OpenSim/Framework/Servers/ServerBase.cs
@@ -492,7 +492,7 @@ namespace OpenSim.Framework.Servers
492 492
493 if (!int.TryParse(rawLevel, out newLevel)) 493 if (!int.TryParse(rawLevel, out newLevel))
494 { 494 {
495 MainConsole.Instance.Output("{0} is not a valid debug level", null, rawLevel); 495 MainConsole.Instance.Output("{0} is not a valid debug level", rawLevel);
496 return; 496 return;
497 } 497 }
498 498
@@ -503,7 +503,7 @@ namespace OpenSim.Framework.Servers
503 } 503 }
504 504
505 Util.LogThreadPool = newLevel; 505 Util.LogThreadPool = newLevel;
506 MainConsole.Instance.Output("LogThreadPool set to {0}", null, newLevel); 506 MainConsole.Instance.Output("LogThreadPool set to {0}", newLevel);
507 } 507 }
508 508
509 private void HandleForceGc(string module, string[] args) 509 private void HandleForceGc(string module, string[] args)
@@ -991,9 +991,9 @@ namespace OpenSim.Framework.Servers
991 } 991 }
992 992
993 if (Watchdog.AbortThread(threadId)) 993 if (Watchdog.AbortThread(threadId))
994 MainConsole.Instance.Output("Aborted thread with id {0}", null, threadId); 994 MainConsole.Instance.Output("Aborted thread with id {0}", threadId);
995 else 995 else
996 MainConsole.Instance.Output("ERROR - Thread with id {0} not found in managed threads", null, threadId); 996 MainConsole.Instance.Output("ERROR - Thread with id {0} not found in managed threads", threadId);
997 } 997 }
998 998
999 /// <summary> 999 /// <summary>
@@ -1020,7 +1020,7 @@ namespace OpenSim.Framework.Servers
1020 protected void Notice(string format, params object[] components) 1020 protected void Notice(string format, params object[] components)
1021 { 1021 {
1022 if (m_console != null) 1022 if (m_console != null)
1023 m_console.Output(format, null, components); 1023 m_console.Output(format, components);
1024 } 1024 }
1025 1025
1026 public virtual void Shutdown() 1026 public virtual void Shutdown()