aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/MainServer.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--]OpenSim/Framework/Servers/MainServer.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/Servers/MainServer.cs b/OpenSim/Framework/Servers/MainServer.cs
index 48a3a82..f4662fe 100644..100755
--- a/OpenSim/Framework/Servers/MainServer.cs
+++ b/OpenSim/Framework/Servers/MainServer.cs
@@ -192,35 +192,35 @@ 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.OutputFormat("{0} is not a valid debug level", rawNewDebug); 195 MainConsole.Instance.Output("{0} is not a valid debug level", null, rawNewDebug);
196 return; 196 return;
197 } 197 }
198 198
199 if (newDebug < 0 || newDebug > 6) 199 if (newDebug < 0 || newDebug > 6)
200 { 200 {
201 MainConsole.Instance.OutputFormat("{0} is outside the valid debug level range of 0..6", newDebug); 201 MainConsole.Instance.Output("{0} is outside the valid debug level range of 0..6", null, newDebug);
202 return; 202 return;
203 } 203 }
204 204
205 if (allReqs || inReqs) 205 if (allReqs || inReqs)
206 { 206 {
207 MainServer.DebugLevel = newDebug; 207 MainServer.DebugLevel = newDebug;
208 MainConsole.Instance.OutputFormat("IN debug level set to {0}", newDebug); 208 MainConsole.Instance.Output("IN debug level set to {0}", null, 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.OutputFormat("OUT debug level set to {0}", newDebug); 214 MainConsole.Instance.Output("OUT debug level set to {0}", null, newDebug);
215 } 215 }
216 } 216 }
217 else 217 else
218 { 218 {
219 if (allReqs || inReqs) 219 if (allReqs || inReqs)
220 MainConsole.Instance.OutputFormat("Current IN debug level is {0}", MainServer.DebugLevel); 220 MainConsole.Instance.Output("Current IN debug level is {0}", null, DebugLevel);
221 221
222 if (allReqs || outReqs) 222 if (allReqs || outReqs)
223 MainConsole.Instance.OutputFormat("Current OUT debug level is {0}", WebUtil.DebugLevel); 223 MainConsole.Instance.Output("Current OUT debug level is {0}", null, WebUtil.DebugLevel);
224 } 224 }
225 } 225 }
226 226