aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/MainServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/MainServer.cs')
-rwxr-xr-xOpenSim/Framework/Servers/MainServer.cs10
1 files changed, 5 insertions, 5 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