A bit more prominent sign of start up completion :-) thanks HashBox for the ASCII!

This commit is contained in:
Dalien Talbot
2008-02-18 23:31:48 +00:00
parent d0b218f667
commit 75fe826d57
2 changed files with 46 additions and 0 deletions

View File

@@ -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);
}
}
}
/// <summary>
/// Runs commands issued by the server console from the operator
/// </summary>