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/Grid/GridServer | |
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 'OpenSim/Grid/GridServer')
-rw-r--r-- | OpenSim/Grid/GridServer/GridRestModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer/GridXmlRpcModule.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Grid/GridServer/GridRestModule.cs b/OpenSim/Grid/GridServer/GridRestModule.cs index e0c1288..7d3bd18 100644 --- a/OpenSim/Grid/GridServer/GridRestModule.cs +++ b/OpenSim/Grid/GridServer/GridRestModule.cs | |||
@@ -182,7 +182,7 @@ namespace OpenSim.Grid.GridServer | |||
182 | public string RestSetSimMethod(string request, string path, string param, | 182 | public string RestSetSimMethod(string request, string path, string param, |
183 | OSHttpRequest httpRequest, OSHttpResponse httpResponse) | 183 | OSHttpRequest httpRequest, OSHttpResponse httpResponse) |
184 | { | 184 | { |
185 | Console.WriteLine("Processing region update via REST method"); | 185 | m_log.Info("Processing region update via REST method"); |
186 | RegionProfileData theSim; | 186 | RegionProfileData theSim; |
187 | theSim = m_gridDBService.GetRegion(new UUID(param)); | 187 | theSim = m_gridDBService.GetRegion(new UUID(param)); |
188 | if (theSim == null) | 188 | if (theSim == null) |
diff --git a/OpenSim/Grid/GridServer/GridXmlRpcModule.cs b/OpenSim/Grid/GridServer/GridXmlRpcModule.cs index f320ccc..8998b55 100644 --- a/OpenSim/Grid/GridServer/GridXmlRpcModule.cs +++ b/OpenSim/Grid/GridServer/GridXmlRpcModule.cs | |||
@@ -627,7 +627,7 @@ namespace OpenSim.Grid.GridServer | |||
627 | else if (requestData.ContainsKey("region_handle")) | 627 | else if (requestData.ContainsKey("region_handle")) |
628 | { | 628 | { |
629 | //CFK: The if/else below this makes this message redundant. | 629 | //CFK: The if/else below this makes this message redundant. |
630 | //CFK: Console.WriteLine("requesting data for region " + (string) requestData["region_handle"]); | 630 | //CFK: m_log.Info("requesting data for region " + (string) requestData["region_handle"]); |
631 | ulong regionHandle = Convert.ToUInt64((string)requestData["region_handle"]); | 631 | ulong regionHandle = Convert.ToUInt64((string)requestData["region_handle"]); |
632 | simData = m_gridDBService.GetRegion(regionHandle); | 632 | simData = m_gridDBService.GetRegion(regionHandle); |
633 | if (simData == null) | 633 | if (simData == null) |