Fix "set log level" to once again display current log level if it's not given a parameter
This addresses http://opensimulator.org/mantis/view.php?id=53450.7.1-dev
parent
c1665cfe9c
commit
ba8826d2b8
|
@ -319,6 +319,8 @@ namespace OpenSim.Framework.Servers
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cmd.Length > 3)
|
||||||
|
{
|
||||||
string rawLevel = cmd[3];
|
string rawLevel = cmd[3];
|
||||||
|
|
||||||
ILoggerRepository repository = LogManager.GetRepository();
|
ILoggerRepository repository = LogManager.GetRepository();
|
||||||
|
@ -331,6 +333,7 @@ namespace OpenSim.Framework.Servers
|
||||||
String.Format(
|
String.Format(
|
||||||
"{0} is not a valid logging level. Valid logging levels are ALL, DEBUG, INFO, WARN, ERROR, FATAL, OFF",
|
"{0} is not a valid logging level. Valid logging levels are ALL, DEBUG, INFO, WARN, ERROR, FATAL, OFF",
|
||||||
rawLevel));
|
rawLevel));
|
||||||
|
}
|
||||||
|
|
||||||
Notice(String.Format("Console log level is {0}", m_consoleAppender.Threshold));
|
Notice(String.Format("Console log level is {0}", m_consoleAppender.Threshold));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue