added just what opensim needs...yet another command line option: -noverbose . cut down on the system console output (should really be stopping it all but not all output is going through OpenSim.Framework.Console)

This commit is contained in:
MW
2007-04-26 17:50:25 +00:00
parent a7c374ac51
commit 14a4ff3081
5 changed files with 22 additions and 10 deletions

View File

@@ -21,6 +21,7 @@ namespace OpenSim
bool userAccounts = false;
bool gridLocalAsset = false;
bool useConfigFile = false;
bool noverbose = false;
for (int i = 0; i < args.Length; i++)
{
@@ -55,9 +56,13 @@ namespace OpenSim
{
useConfigFile = true;
}
if (args[i] == "-noverbose")
{
noverbose = true;
}
}
OpenSimMain sim = new OpenSimMain( sandBoxMode, startLoginServer, physicsEngine, useConfigFile);
OpenSimMain sim = new OpenSimMain( sandBoxMode, startLoginServer, physicsEngine, useConfigFile, noverbose);
// OpenSimRoot.Instance.Application = sim;
sim.m_sandbox = sandBoxMode;
sim.user_accounts = userAccounts;