Make WindParamSet success a console message rather than a log message.

This effectively disables the log message as requested by http://opensimulator.org/mantis/view.php?id=6890
master-beforevarregion
Justin Clark-Casey (justincc) 2013-12-14 01:07:37 +00:00
parent 5ddd818238
commit d656ec2a07
1 changed files with 1 additions and 2 deletions

View File

@ -324,6 +324,7 @@ namespace OpenSim.Region.CoreModules
try try
{ {
WindParamSet(plugin, param, value); WindParamSet(plugin, param, value);
MainConsole.Instance.OutputFormat("{0} set to {1}", param, value);
} }
catch (Exception e) catch (Exception e)
{ {
@ -373,13 +374,11 @@ namespace OpenSim.Region.CoreModules
{ {
IWindModelPlugin windPlugin = m_availableWindPlugins[plugin]; IWindModelPlugin windPlugin = m_availableWindPlugins[plugin];
windPlugin.WindParamSet(param, value); windPlugin.WindParamSet(param, value);
m_log.InfoFormat("[WIND] {0} set to {1}", param, value);
} }
else else
{ {
throw new Exception(String.Format("Could not find plugin {0}", plugin)); throw new Exception(String.Format("Could not find plugin {0}", plugin));
} }
} }
public float WindParamGet(string plugin, string param) public float WindParamGet(string plugin, string param)