minor: Just have one message that displays successful registration of a region with its parameters rather than 2
parent
d34ad345d5
commit
2d2aa6e076
|
@ -2042,11 +2042,11 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
GridRegion region = new GridRegion(RegionInfo);
|
||||
string error = GridService.RegisterRegion(RegionInfo.ScopeID, region);
|
||||
m_log.DebugFormat("{0} RegisterRegionWithGrid. name={1},id={2},loc=<{3},{4}>,size=<{5},{6}>",
|
||||
LogHeader, m_regionName,
|
||||
RegionInfo.RegionID,
|
||||
RegionInfo.RegionLocX, RegionInfo.RegionLocY,
|
||||
RegionInfo.RegionSizeX, RegionInfo.RegionSizeY);
|
||||
// m_log.DebugFormat("[SCENE]: RegisterRegionWithGrid. name={0},id={1},loc=<{2},{3}>,size=<{4},{5}>",
|
||||
// m_regionName,
|
||||
// RegionInfo.RegionID,
|
||||
// RegionInfo.RegionLocX, RegionInfo.RegionLocY,
|
||||
// RegionInfo.RegionSizeX, RegionInfo.RegionSizeY);
|
||||
|
||||
if (error != String.Empty)
|
||||
throw new Exception(error);
|
||||
|
|
|
@ -317,8 +317,10 @@ namespace OpenSim.Services.GridService
|
|||
m_log.DebugFormat("[GRID SERVICE]: Database exception: {0}", e);
|
||||
}
|
||||
|
||||
m_log.DebugFormat("[GRID SERVICE]: Region {0} ({1}) registered successfully at {2}-{3} with flags {4}",
|
||||
regionInfos.RegionName, regionInfos.RegionID, regionInfos.RegionCoordX, regionInfos.RegionCoordY,
|
||||
m_log.DebugFormat
|
||||
("[GRID SERVICE]: Region {0} ({1}, {2}x{3}) registered at {4},{5} with flags {6}",
|
||||
regionInfos.RegionName, regionInfos.RegionID, regionInfos.RegionSizeX, regionInfos.RegionSizeY,
|
||||
regionInfos.RegionCoordX, regionInfos.RegionCoordY,
|
||||
(OpenSim.Framework.RegionFlags)flags);
|
||||
|
||||
return String.Empty;
|
||||
|
|
Loading…
Reference in New Issue