diff options
author | Charles Krinke | 2009-02-22 20:52:55 +0000 |
---|---|---|
committer | Charles Krinke | 2009-02-22 20:52:55 +0000 |
commit | 8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49 (patch) | |
tree | 96a24a49de82056060dd9b7bab0cb209d5f1a129 /OpenSim/Region/Application/HGOpenSimNode.cs | |
parent | Allow delivery of object messages gridwide (diff) | |
download | opensim-SC-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.zip opensim-SC-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.gz opensim-SC-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.bz2 opensim-SC-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/HGOpenSimNode.cs | 10 |
1 files changed, 5 insertions, 5 deletions
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 | |||
192 | for (int i = 3; i < cmdparams.Count; i++) | 192 | for (int i = 3; i < cmdparams.Count; i++) |
193 | mapName += " " + cmdparams[i]; | 193 | mapName += " " + cmdparams[i]; |
194 | 194 | ||
195 | Console.WriteLine(">> MapName: " + mapName); | 195 | m_log.Info(">> MapName: " + mapName); |
196 | //internalPort = Convert.ToUInt32(cmdparams[4]); | 196 | //internalPort = Convert.ToUInt32(cmdparams[4]); |
197 | //remotingPort = Convert.ToUInt32(cmdparams[5]); | 197 | //remotingPort = Convert.ToUInt32(cmdparams[5]); |
198 | } | 198 | } |
@@ -285,7 +285,7 @@ namespace OpenSim | |||
285 | } | 285 | } |
286 | catch (Exception e) | 286 | catch (Exception e) |
287 | { | 287 | { |
288 | Console.WriteLine(e.ToString()); | 288 | m_log.Error(e.ToString()); |
289 | } | 289 | } |
290 | } | 290 | } |
291 | 291 | ||
@@ -323,9 +323,9 @@ namespace OpenSim | |||
323 | 323 | ||
324 | private void LinkRegionCmdUsage() | 324 | private void LinkRegionCmdUsage() |
325 | { | 325 | { |
326 | Console.WriteLine("Usage: link-region <Xloc> <Yloc> <HostName>:<HttpPort>[:<RemoteRegionName>]"); | 326 | m_log.Info("Usage: link-region <Xloc> <Yloc> <HostName>:<HttpPort>[:<RemoteRegionName>]"); |
327 | Console.WriteLine("Usage: link-region <Xloc> <Yloc> <HostName> <HttpPort> [<LocalName>]"); | 327 | m_log.Info("Usage: link-region <Xloc> <Yloc> <HostName> <HttpPort> [<LocalName>]"); |
328 | Console.WriteLine("Usage: link-region <URI_of_xml> [<exclude>]"); | 328 | m_log.Info("Usage: link-region <URI_of_xml> [<exclude>]"); |
329 | } | 329 | } |
330 | } | 330 | } |
331 | } | 331 | } |