Simplify GridServer mainmap log messages.

afrisby
Charles Krinke 2007-12-23 01:09:21 +00:00
parent 5cd6f235ce
commit 1a679c8cd9
1 changed files with 6 additions and 5 deletions

View File

@ -471,7 +471,8 @@ namespace OpenSim.Grid.GridServer
{ {
ymax = (Int32) requestData["ymax"]; ymax = (Int32) requestData["ymax"];
} }
MainLog.Instance.Verbose("MAP", "World map request for range (" + xmin + "," + ymin + ")..(" + xmax + "," + ymax + ")"); //CFK: The second MainLog is more meaningful and either standard or fast generally occurs.
//CFK: MainLog.Instance.Verbose("MAP", "World map request for range (" + xmin + "," + ymin + ")..(" + xmax + "," + ymax + ")");
XmlRpcResponse response = new XmlRpcResponse(); XmlRpcResponse response = new XmlRpcResponse();
Hashtable responseData = new Hashtable(); Hashtable responseData = new Hashtable();
@ -509,8 +510,8 @@ namespace OpenSim.Grid.GridServer
simProfileList.Add(simProfileBlock); simProfileList.Add(simProfileBlock);
} }
MainLog.Instance.Verbose("MAP", "World map request processed, returned " + simProfileList.Count.ToString() + MainLog.Instance.Verbose("MAP", "Fast map" + simProfileList.Count.ToString() +
" region(s) in range via FastMode"); " @ (" + xmin + "," + ymin + ")..(" + xmax + "," + ymax + ")" );
} }
else else
{ {
@ -544,8 +545,8 @@ namespace OpenSim.Grid.GridServer
} }
} }
} }
MainLog.Instance.Verbose("MAP", "World map request processed, returned " + simProfileList.Count.ToString() + MainLog.Instance.Verbose("MAP", "Std map" + simProfileList.Count.ToString() +
" region(s) in range via Standard Mode"); " @ (" + xmin + "," + ymin + ")..(" + xmax + "," + ymax + ")");
} }
responseData["sim-profiles"] = simProfileList; responseData["sim-profiles"] = simProfileList;