mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
This commit is contained in:
@@ -55,15 +55,15 @@ namespace OpenSim
|
||||
|
||||
XmlConfigurator.Configure();
|
||||
|
||||
Console.Write("Performing compatibility checks... ");
|
||||
m_log.Info("Performing compatibility checks... ");
|
||||
string supported = String.Empty;
|
||||
if (Util.IsEnvironmentSupported(ref supported))
|
||||
{
|
||||
Console.WriteLine(" Environment is compatible.\n");
|
||||
m_log.Info("Environment is compatible.\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine(" Environment is unsupported (" + supported + ")\n");
|
||||
m_log.Warn("Environment is unsupported (" + supported + ")\n");
|
||||
}
|
||||
|
||||
Culture.SetCurrentCulture();
|
||||
@@ -115,7 +115,7 @@ namespace OpenSim
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine("Caught exception from command: {0}", e);
|
||||
m_log.Error("Caught exception from command: {0}", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user