diff options
author | Dalien Talbot | 2008-02-18 23:31:48 +0000 |
---|---|---|
committer | Dalien Talbot | 2008-02-18 23:31:48 +0000 |
commit | 75fe826d571b7f2085206736ffc6c7fd010f92a3 (patch) | |
tree | e8d87e3da4bc64f16a6d12c6cd64d10a959bf4bd /OpenSim/Region/Application/OpenSimMain.cs | |
parent | Committing ahzz's patch #619 - Description: (diff) | |
download | opensim-SC_OLD-75fe826d571b7f2085206736ffc6c7fd010f92a3.zip opensim-SC_OLD-75fe826d571b7f2085206736ffc6c7fd010f92a3.tar.gz opensim-SC_OLD-75fe826d571b7f2085206736ffc6c7fd010f92a3.tar.bz2 opensim-SC_OLD-75fe826d571b7f2085206736ffc6c7fd010f92a3.tar.xz |
A bit more prominent sign of start up completion :-) thanks HashBox for the ASCII!
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index dff095b..bc271dc 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -391,6 +391,7 @@ namespace OpenSim | |||
391 | } | 391 | } |
392 | 392 | ||
393 | // We are done with startup | 393 | // We are done with startup |
394 | PrintFileToConsole("startuplogo.txt"); | ||
394 | m_log.Info("[STARTUP]: Startup complete, serving " + m_udpServers.Count.ToString() + " region(s)"); | 395 | m_log.Info("[STARTUP]: Startup complete, serving " + m_udpServers.Count.ToString() + " region(s)"); |
395 | } | 396 | } |
396 | 397 | ||
@@ -647,6 +648,20 @@ namespace OpenSim | |||
647 | } | 648 | } |
648 | } | 649 | } |
649 | 650 | ||
651 | private void PrintFileToConsole(string fileName) | ||
652 | { | ||
653 | if (File.Exists(fileName)) | ||
654 | { | ||
655 | StreamReader readFile = File.OpenText(fileName); | ||
656 | string currentLine = String.Empty; | ||
657 | while ((currentLine = readFile.ReadLine()) != null) | ||
658 | { | ||
659 | m_log.Info("[!]" + currentLine); | ||
660 | } | ||
661 | } | ||
662 | } | ||
663 | |||
664 | |||
650 | /// <summary> | 665 | /// <summary> |
651 | /// Runs commands issued by the server console from the operator | 666 | /// Runs commands issued by the server console from the operator |
652 | /// </summary> | 667 | /// </summary> |