add current console log level to "show info"
parent
bf5ec8cb88
commit
43f948d691
|
@ -371,8 +371,7 @@ namespace OpenSim.Framework.Servers
|
|||
switch (showParams[0])
|
||||
{
|
||||
case "info":
|
||||
Notice("Version: " + m_version);
|
||||
Notice("Startup directory: " + m_startupDirectory);
|
||||
ShowInfo();
|
||||
break;
|
||||
|
||||
case "stats":
|
||||
|
@ -395,6 +394,14 @@ namespace OpenSim.Framework.Servers
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
protected void ShowInfo()
|
||||
{
|
||||
Notice("Version: " + m_version);
|
||||
Notice("Startup directory: " + m_startupDirectory);
|
||||
if (null != m_consoleAppender)
|
||||
Notice(String.Format("Console log level: {0}", m_consoleAppender.Threshold));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Console output is only possible if a console has been established.
|
||||
|
|
Loading…
Reference in New Issue