From c4707a284ffecf81e8ca60a1019e234339222631 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Mon, 22 Oct 2007 15:23:48 +0000 Subject: * Major ass commit. * Sqlite Storage Engine now supports terrain -- however be aware that every terrain revision stored will at 512KB to your database file. At the moment it is storing every revision from the first. * Fixed an issue where by noverbose mode would display lots of useless junk. Noverbose mode is now quite usable. * Fixed a whole bunch of console message issues such as naming and categorisation --- OpenSim/Region/Application/OpenSimMain.cs | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'OpenSim/Region/Application/OpenSimMain.cs') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index d2f5648..9de3831 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -262,8 +262,10 @@ namespace OpenSim } else { - MainLog.Instance.Verbose("No startup command script specified. Moving on..."); + MainLog.Instance.Verbose("STARTUP","No startup command script specified. Moving on..."); } + + MainLog.Instance.Status("STARTUP","Startup complete, serving " + m_udpServers.Count.ToString() + " region(s)"); } private static void CreateDefaultRegionInfoXml(string fileName) @@ -361,11 +363,11 @@ namespace OpenSim RunCommandScript(m_shutdownCommandsFile); } - m_log.Verbose("Closing all threads"); - m_log.Verbose("Killing listener thread"); - m_log.Verbose("Killing clients"); + m_log.Verbose("SHUTDOWN", "Closing all threads"); + m_log.Verbose("SHUTDOWN", "Killing listener thread"); + m_log.Verbose("SHUTDOWN", "Killing clients"); // IMPLEMENT THIS - m_log.Verbose("Closing console and terminating"); + m_log.Verbose("SHUTDOWN", "Closing console and terminating"); m_sceneManager.Close(); @@ -380,7 +382,7 @@ namespace OpenSim /// private void RunCommandScript(string fileName) { - MainLog.Instance.Verbose("Running command script (" + fileName + ")"); + MainLog.Instance.Verbose("COMMANDFILE", "Running " + fileName); if (File.Exists(fileName)) { StreamReader readFile = File.OpenText(fileName); @@ -389,14 +391,14 @@ namespace OpenSim { if (currentCommand != "") { - MainLog.Instance.Verbose("Running '" + currentCommand + "'"); + MainLog.Instance.Verbose("COMMANDFILE", "Running '" + currentCommand + "'"); MainLog.Instance.MainLogRunCommand(currentCommand); } } } else { - MainLog.Instance.Error("Command script missing. Can not run commands"); + MainLog.Instance.Error("COMMANDFILE","Command script missing. Can not run commands"); } } -- cgit v1.1