From 8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sun, 22 Feb 2009 20:52:55 +0000 Subject: 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. --- OpenSim/Region/Application/HGOpenSimNode.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Application/HGOpenSimNode.cs') diff --git a/OpenSim/Region/Application/HGOpenSimNode.cs b/OpenSim/Region/Application/HGOpenSimNode.cs index 6ec00fe..ded6443 100644 --- a/OpenSim/Region/Application/HGOpenSimNode.cs +++ b/OpenSim/Region/Application/HGOpenSimNode.cs @@ -192,7 +192,7 @@ namespace OpenSim for (int i = 3; i < cmdparams.Count; i++) mapName += " " + cmdparams[i]; - Console.WriteLine(">> MapName: " + mapName); + m_log.Info(">> MapName: " + mapName); //internalPort = Convert.ToUInt32(cmdparams[4]); //remotingPort = Convert.ToUInt32(cmdparams[5]); } @@ -285,7 +285,7 @@ namespace OpenSim } catch (Exception e) { - Console.WriteLine(e.ToString()); + m_log.Error(e.ToString()); } } @@ -323,9 +323,9 @@ namespace OpenSim private void LinkRegionCmdUsage() { - Console.WriteLine("Usage: link-region :[:]"); - Console.WriteLine("Usage: link-region []"); - Console.WriteLine("Usage: link-region []"); + m_log.Info("Usage: link-region :[:]"); + m_log.Info("Usage: link-region []"); + m_log.Info("Usage: link-region []"); } } } -- cgit v1.1