mirror of
https://github.com/opensim/opensim.git
synced 2026-06-30 11:07:02 +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:
@@ -451,11 +451,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||
|
||||
public void VarDump(Dictionary<string, object> vars)
|
||||
{
|
||||
Console.WriteLine("Variable dump for script {0}", m_ItemID.ToString());
|
||||
m_log.Info("Variable dump for script "+ m_ItemID.ToString());
|
||||
foreach (KeyValuePair<string, object> v in vars)
|
||||
{
|
||||
Console.WriteLine("Variable: {0} = '{1}'", v. Key,
|
||||
v.Value.ToString());
|
||||
m_log.Info("Variable: "+v.Key+" = "+v.Value.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -881,7 +880,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
Console.WriteLine("Unable to save xml\n"+e.ToString());
|
||||
m_log.Error("Unable to save xml\n"+e.ToString());
|
||||
}
|
||||
if (!File.Exists(Path.Combine(Path.GetDirectoryName(assembly), m_ItemID.ToString() + ".state")))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user