aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimMain.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-10-22 15:23:48 +0000
committerAdam Frisby2007-10-22 15:23:48 +0000
commitc4707a284ffecf81e8ca60a1019e234339222631 (patch)
treebff5da1d8ecf39b0b4578ebec0b8b3dc86c03d85 /OpenSim/Region/Application/OpenSimMain.cs
parentattempt to fix the muliple repeat problem (that sdague is getting) in the IRC... (diff)
downloadopensim-SC_OLD-c4707a284ffecf81e8ca60a1019e234339222631.zip
opensim-SC_OLD-c4707a284ffecf81e8ca60a1019e234339222631.tar.gz
opensim-SC_OLD-c4707a284ffecf81e8ca60a1019e234339222631.tar.bz2
opensim-SC_OLD-c4707a284ffecf81e8ca60a1019e234339222631.tar.xz
* 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
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs18
1 files changed, 10 insertions, 8 deletions
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
262 } 262 }
263 else 263 else
264 { 264 {
265 MainLog.Instance.Verbose("No startup command script specified. Moving on..."); 265 MainLog.Instance.Verbose("STARTUP","No startup command script specified. Moving on...");
266 } 266 }
267
268 MainLog.Instance.Status("STARTUP","Startup complete, serving " + m_udpServers.Count.ToString() + " region(s)");
267 } 269 }
268 270
269 private static void CreateDefaultRegionInfoXml(string fileName) 271 private static void CreateDefaultRegionInfoXml(string fileName)
@@ -361,11 +363,11 @@ namespace OpenSim
361 RunCommandScript(m_shutdownCommandsFile); 363 RunCommandScript(m_shutdownCommandsFile);
362 } 364 }
363 365
364 m_log.Verbose("Closing all threads"); 366 m_log.Verbose("SHUTDOWN", "Closing all threads");
365 m_log.Verbose("Killing listener thread"); 367 m_log.Verbose("SHUTDOWN", "Killing listener thread");
366 m_log.Verbose("Killing clients"); 368 m_log.Verbose("SHUTDOWN", "Killing clients");
367 // IMPLEMENT THIS 369 // IMPLEMENT THIS
368 m_log.Verbose("Closing console and terminating"); 370 m_log.Verbose("SHUTDOWN", "Closing console and terminating");
369 371
370 m_sceneManager.Close(); 372 m_sceneManager.Close();
371 373
@@ -380,7 +382,7 @@ namespace OpenSim
380 /// <param name="fileName"></param> 382 /// <param name="fileName"></param>
381 private void RunCommandScript(string fileName) 383 private void RunCommandScript(string fileName)
382 { 384 {
383 MainLog.Instance.Verbose("Running command script (" + fileName + ")"); 385 MainLog.Instance.Verbose("COMMANDFILE", "Running " + fileName);
384 if (File.Exists(fileName)) 386 if (File.Exists(fileName))
385 { 387 {
386 StreamReader readFile = File.OpenText(fileName); 388 StreamReader readFile = File.OpenText(fileName);
@@ -389,14 +391,14 @@ namespace OpenSim
389 { 391 {
390 if (currentCommand != "") 392 if (currentCommand != "")
391 { 393 {
392 MainLog.Instance.Verbose("Running '" + currentCommand + "'"); 394 MainLog.Instance.Verbose("COMMANDFILE", "Running '" + currentCommand + "'");
393 MainLog.Instance.MainLogRunCommand(currentCommand); 395 MainLog.Instance.MainLogRunCommand(currentCommand);
394 } 396 }
395 } 397 }
396 } 398 }
397 else 399 else
398 { 400 {
399 MainLog.Instance.Error("Command script missing. Can not run commands"); 401 MainLog.Instance.Error("COMMANDFILE","Command script missing. Can not run commands");
400 } 402 }
401 } 403 }
402 404