Fix bug where debug http level 6 could not be specified. Also converts newlines at this level to '\n' to enable them to be logged.

This commit is contained in:
Justin Clark-Casey (justincc)
2012-09-29 02:38:21 +01:00
parent 818379ba14
commit f457952755
2 changed files with 5 additions and 5 deletions

View File

@@ -177,9 +177,9 @@ namespace OpenSim.Framework.Servers
return;
}
if (newDebug < 0 || newDebug > 5)
if (newDebug < 0 || newDebug > 6)
{
MainConsole.Instance.OutputFormat("{0} is outside the valid debug level range of 0..5", newDebug);
MainConsole.Instance.OutputFormat("{0} is outside the valid debug level range of 0..6", newDebug);
return;
}