mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user