From 14a4ff308190af61783f1c4c686bcfc3dfa07a4f Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 26 Apr 2007 17:50:25 +0000 Subject: 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) --- OpenSim/Application.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Application.cs') diff --git a/OpenSim/Application.cs b/OpenSim/Application.cs index 56fcf53..6adc540 100644 --- a/OpenSim/Application.cs +++ b/OpenSim/Application.cs @@ -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; -- cgit v1.1