From 75fe826d571b7f2085206736ffc6c7fd010f92a3 Mon Sep 17 00:00:00 2001 From: Dalien Talbot Date: Mon, 18 Feb 2008 23:31:48 +0000 Subject: A bit more prominent sign of start up completion :-) thanks HashBox for the ASCII! --- OpenSim/Region/Application/OpenSimMain.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'OpenSim') 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 } // We are done with startup + PrintFileToConsole("startuplogo.txt"); m_log.Info("[STARTUP]: Startup complete, serving " + m_udpServers.Count.ToString() + " region(s)"); } @@ -647,6 +648,20 @@ namespace OpenSim } } + private void PrintFileToConsole(string fileName) + { + if (File.Exists(fileName)) + { + StreamReader readFile = File.OpenText(fileName); + string currentLine = String.Empty; + while ((currentLine = readFile.ReadLine()) != null) + { + m_log.Info("[!]" + currentLine); + } + } + } + + /// /// Runs commands issued by the server console from the operator /// -- cgit v1.1