diff options
author | Sean Dague | 2007-10-25 15:34:43 +0000 |
---|---|---|
committer | Sean Dague | 2007-10-25 15:34:43 +0000 |
commit | 32869aec47b9bc7f7046d24aabc3f3d957a929af (patch) | |
tree | 32d71f4744fca858d9eb7b2d7ada1b9089bf27e2 /OpenSim/Region | |
parent | move out the config files to .example files so that they (diff) | |
download | opensim-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 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Application/Application.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index 8e2793e..8079ab8 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs | |||
@@ -64,7 +64,7 @@ namespace OpenSim | |||
64 | configSource.AddSwitch("Startup", "inifile"); | 64 | configSource.AddSwitch("Startup", "inifile"); |
65 | configSource.AddSwitch("Startup", "gridmode"); | 65 | configSource.AddSwitch("Startup", "gridmode"); |
66 | configSource.AddSwitch("Startup", "physics"); | 66 | configSource.AddSwitch("Startup", "physics"); |
67 | configSource.AddSwitch("Startup", "noverbose"); | 67 | configSource.AddSwitch("Startup", "verbose"); |
68 | configSource.AddSwitch("Startup", "useexecutepath"); | 68 | configSource.AddSwitch("Startup", "useexecutepath"); |
69 | 69 | ||
70 | OpenSimMain sim = new OpenSimMain(configSource); | 70 | OpenSimMain sim = new OpenSimMain(configSource); |
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 |
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 35f2051..36be3e8 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -50,7 +50,7 @@ namespace SimpleApp | |||
50 | 50 | ||
51 | protected override LogBase CreateLog() | 51 | protected override LogBase CreateLog() |
52 | { | 52 | { |
53 | return new LogBase(null, "SimpleApp", this, false); | 53 | return new LogBase(null, "SimpleApp", this, true); |
54 | } | 54 | } |
55 | 55 | ||
56 | protected override void Initialize() | 56 | protected override void Initialize() |