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