aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimMain.cs
diff options
context:
space:
mode:
authorSean Dague2007-10-25 15:34:43 +0000
committerSean Dague2007-10-25 15:34:43 +0000
commit32869aec47b9bc7f7046d24aabc3f3d957a929af (patch)
tree32d71f4744fca858d9eb7b2d7ada1b9089bf27e2 /OpenSim/Region/Application/OpenSimMain.cs
parentmove out the config files to .example files so that they (diff)
downloadopensim-SC-32869aec47b9bc7f7046d24aabc3f3d957a929af.zip
opensim-SC-32869aec47b9bc7f7046d24aabc3f3d957a929af.tar.gz
opensim-SC-32869aec47b9bc7f7046d24aabc3f3d957a929af.tar.bz2
opensim-SC-32869aec47b9bc7f7046d24aabc3f3d957a929af.tar.xz
apply http://bug.opensecondlife.org/view.php?id=512 from chillken
which cleans up the verbose logic
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index a345334..55913a8 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -74,7 +74,7 @@ namespace OpenSim
74 protected List<UDPServer> m_udpServers = new List<UDPServer>(); 74 protected List<UDPServer> m_udpServers = new List<UDPServer>();
75 protected List<RegionInfo> m_regionData = new List<RegionInfo>(); 75 protected List<RegionInfo> m_regionData = new List<RegionInfo>();
76 76
77 private bool m_silent; 77 private bool m_verbose;
78 private readonly string m_logFilename = ("region-console.log"); 78 private readonly string m_logFilename = ("region-console.log");
79 private bool m_permissions = false; 79 private bool m_permissions = false;
80 80
@@ -122,7 +122,7 @@ namespace OpenSim
122 m_networkServersInfo = new NetworkServersInfo(); 122 m_networkServersInfo = new NetworkServersInfo();
123 m_sandbox = !m_config.Configs["Startup"].GetBoolean("gridmode", false); 123 m_sandbox = !m_config.Configs["Startup"].GetBoolean("gridmode", false);
124 m_physicsEngine = m_config.Configs["Startup"].GetString("physics", "basicphysics"); 124 m_physicsEngine = m_config.Configs["Startup"].GetString("physics", "basicphysics");
125 m_silent = m_config.Configs["Startup"].GetBoolean("noverbose", false); 125 m_verbose = m_config.Configs["Startup"].GetBoolean("verbose", true);
126 m_permissions = m_config.Configs["Startup"].GetBoolean("serverside_object_permissions", false); 126 m_permissions = m_config.Configs["Startup"].GetBoolean("serverside_object_permissions", false);
127 127
128 m_storageDLL = m_config.Configs["Startup"].GetString("storage_plugin", "OpenSim.DataStore.NullStorage.dll"); 128 m_storageDLL = m_config.Configs["Startup"].GetString("storage_plugin", "OpenSim.DataStore.NullStorage.dll");
@@ -319,7 +319,7 @@ namespace OpenSim
319 Directory.CreateDirectory(Util.logDir()); 319 Directory.CreateDirectory(Util.logDir());
320 } 320 }
321 321
322 return new LogBase((Path.Combine(Util.logDir(), m_logFilename)), "Region", this, m_silent); 322 return new LogBase((Path.Combine(Util.logDir(), m_logFilename)), "Region", this, m_verbose);
323 } 323 }
324 324
325 # region Setup methods 325 # region Setup methods