diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 865a0ed..6eb7686 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -371,8 +371,7 @@ namespace OpenSim.Framework.Servers | |||
371 | switch (showParams[0]) | 371 | switch (showParams[0]) |
372 | { | 372 | { |
373 | case "info": | 373 | case "info": |
374 | Notice("Version: " + m_version); | 374 | ShowInfo(); |
375 | Notice("Startup directory: " + m_startupDirectory); | ||
376 | break; | 375 | break; |
377 | 376 | ||
378 | case "stats": | 377 | case "stats": |
@@ -395,6 +394,14 @@ namespace OpenSim.Framework.Servers | |||
395 | break; | 394 | break; |
396 | } | 395 | } |
397 | } | 396 | } |
397 | |||
398 | protected void ShowInfo() | ||
399 | { | ||
400 | Notice("Version: " + m_version); | ||
401 | Notice("Startup directory: " + m_startupDirectory); | ||
402 | if (null != m_consoleAppender) | ||
403 | Notice(String.Format("Console log level: {0}", m_consoleAppender.Threshold)); | ||
404 | } | ||
398 | 405 | ||
399 | /// <summary> | 406 | /// <summary> |
400 | /// Console output is only possible if a console has been established. | 407 | /// Console output is only possible if a console has been established. |