aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorOren Hurvitz2011-05-26 13:41:56 +0300
committerDiva Canto2011-06-07 20:20:04 -0700
commit61f1c2b2c517ccd00bf1e7c4efe9c7567c891fe0 (patch)
tree8b4c11e32bc2dc5d7cac1438f5fe29ae9cf6af0a
parentWhen a plugin fails to load because a DLL is missing, log which DLL it is (diff)
downloadopensim-SC-61f1c2b2c517ccd00bf1e7c4efe9c7567c891fe0.zip
opensim-SC-61f1c2b2c517ccd00bf1e7c4efe9c7567c891fe0.tar.gz
opensim-SC-61f1c2b2c517ccd00bf1e7c4efe9c7567c891fe0.tar.bz2
opensim-SC-61f1c2b2c517ccd00bf1e7c4efe9c7567c891fe0.tar.xz
Write estate errors on startup to the log
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index ea9edf6..00b080c 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -836,7 +836,7 @@ namespace OpenSim
836 836
837 if (regInfo.EstateSettings.EstateID == 0) // No record at all 837 if (regInfo.EstateSettings.EstateID == 0) // No record at all
838 { 838 {
839 MainConsole.Instance.OutputFormat("Region {0} is not part of an estate.", regInfo.RegionName); 839 m_log.WarnFormat("[ESTATE] Region {0} is not part of an estate.", regInfo.RegionName);
840 840
841 List<EstateSettings> estates = EstateDataService.LoadEstateSettingsAll(); 841 List<EstateSettings> estates = EstateDataService.LoadEstateSettingsAll();
842 List<string> estateNames = new List<string>(); 842 List<string> estateNames = new List<string>();
@@ -847,7 +847,7 @@ namespace OpenSim
847 { 847 {
848 if (estates.Count == 0) 848 if (estates.Count == 0)
849 { 849 {
850 MainConsole.Instance.Output("No existing estates found. You must create a new one."); 850 m_log.Info("[ESTATE] No existing estates found. You must create a new one.");
851 851
852 if (CreateEstate(regInfo, estateNames)) 852 if (CreateEstate(regInfo, estateNames))
853 break; 853 break;