diff --git a/OpenSim/Region/Environment/Modules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/Environment/Modules/Avatar/AvatarFactory/AvatarFactoryModule.cs
index 30e9f95a06..d3b782ff02 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/AvatarFactory/AvatarFactoryModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/AvatarFactory/AvatarFactoryModule.cs
@@ -57,15 +57,14 @@ namespace OpenSim.Region.Environment.Modules.Avatar.AvatarFactory
if (appearance != null)
{
//SetAppearanceAssets(profile, ref appearance);
- m_log.InfoFormat("[APPEARANCE] found : {0}", appearance.ToString());
+ m_log.InfoFormat("[APPEARANCE]: Found : {0}", appearance.ToString());
return true;
}
}
appearance = CreateDefault(avatarId);
- m_log.InfoFormat("[APPEARANCE] appearance not found for {0}, creating default", avatarId.ToString());
+ m_log.InfoFormat("[APPEARANCE]: Appearance not found for {0}, creating default", avatarId);
return false;
-
}
private AvatarAppearance CreateDefault(UUID avatarId)
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 0f96cf2a64..8d94c68253 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -2486,6 +2486,12 @@ namespace OpenSim.Region.Environment.Scenes
}
}
+ ///
+ /// Create a scene presence and add it to this scene.
+ ///
+ ///
+ ///
+ ///
protected virtual ScenePresence CreateAndAddScenePresence(IClientAPI client, bool child)
{
AvatarAppearance appearance = null;
@@ -2515,11 +2521,11 @@ namespace OpenSim.Region.Environment.Scenes
}
catch (Exception e)
{
- m_log.ErrorFormat("[APPEARANCE]: Problem fetching appearance for avatar {0}, {1}, {2}",
- client.Name, client.AgentId, e.ToString());
+ m_log.ErrorFormat("[APPEARANCE]: Problem fetching appearance for avatar {0}, {1}",
+ client.Name, e);
}
+
m_log.Warn("[APPEARANCE]: Appearance not found, returning default");
-
}
///
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 3313524721..ccc4be7731 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -715,9 +715,9 @@ namespace OpenSim.Region.Environment.Scenes
ava.TryGetAvatarAppearance(m_uuid, out m_appearance);
}
-// m_log.DebugFormat(
-// "[SCENE PRESENCE]: Upgrading child agent {0}, {1} to a root agent in {2} at pos {3}",
-// Name, UUID, m_scene.RegionInfo.RegionName, pos);
+ m_log.DebugFormat(
+ "[SCENE]: Upgrading child to root agent for {0} in {1}",
+ Name, m_scene.RegionInfo.RegionName);
if (pos.X < 0 || pos.X > Constants.RegionSize || pos.Y < 0 || pos.Y > Constants.RegionSize || pos.Z < 0)
{