mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
varregion: add lots of DEBUG level log messages. Especially for teleport.
This commit is contained in:
@@ -76,8 +76,7 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
|
||||
void Cross(SceneObjectGroup sog, Vector3 position, bool silent);
|
||||
|
||||
ScenePresence CrossAgentToNewRegionAsync(ScenePresence agent, Vector3 pos, GridRegion neighbourRegion, bool isFlying, string version);
|
||||
|
||||
ScenePresence CrossAgentToNewRegionAsync(ScenePresence agent, Vector3 pos, GridRegion neighbourRegion, bool isFlying, string version);
|
||||
}
|
||||
|
||||
public interface IUserAgentVerificationModule
|
||||
|
||||
@@ -46,8 +46,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
public partial class Scene
|
||||
{
|
||||
private static readonly ILog m_log
|
||||
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly string LogHeader = "[SCENE INVENTORY]";
|
||||
|
||||
/// <summary>
|
||||
/// Allows asynchronous derezzing of objects from the scene into a client's inventory.
|
||||
|
||||
@@ -42,7 +42,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
public abstract class SceneBase : IScene
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly string LogHeader = "[SCENE]";
|
||||
|
||||
#region Events
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public class ScenePresence : EntityBase, IScenePresence
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly String LogHeader = "[SCENE PRESENCE]";
|
||||
|
||||
// ~ScenePresence()
|
||||
// {
|
||||
@@ -3438,12 +3439,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
if (!IsInTransit)
|
||||
{
|
||||
m_log.DebugFormat(
|
||||
"[SCENE PRESENCE]: Testing border check for projected position {0} of {1} in {2}",
|
||||
pos2, Name, Scene.Name);
|
||||
|
||||
if (!m_scene.PositionIsInCurrentRegion(pos2))
|
||||
{
|
||||
m_log.DebugFormat("{0} CheckForBorderCrossing: position outside region. {1} in {2} at pos {3}",
|
||||
LogHeader, Name, Scene.Name, pos2);
|
||||
|
||||
// Disconnect from the current region
|
||||
bool isFlying = Flying;
|
||||
RemoveFromPhysicalScene();
|
||||
|
||||
Reference in New Issue
Block a user