diff options
author | Diva Canto | 2011-12-16 08:59:33 -0800 |
---|---|---|
committer | Diva Canto | 2011-12-16 08:59:33 -0800 |
commit | 3bf699ad36081c9c53ee6845a5c85a3a1856b923 (patch) | |
tree | 1a64887ed71e111d95434aad7b67e26134dce560 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | HG minor bug fix and marked one method obsolete in UAS. (diff) | |
download | opensim-SC_OLD-3bf699ad36081c9c53ee6845a5c85a3a1856b923.zip opensim-SC_OLD-3bf699ad36081c9c53ee6845a5c85a3a1856b923.tar.gz opensim-SC_OLD-3bf699ad36081c9c53ee6845a5c85a3a1856b923.tar.bz2 opensim-SC_OLD-3bf699ad36081c9c53ee6845a5c85a3a1856b923.tar.xz |
No functional changes. Changed the prefix of that log message [CONNECTION BEGIN] to [SCENE] because that's where the message happens.
Also changed the instantiation of a vector object to be done only once instead of every time we receive a position update.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 4ab6fe4..b43b227 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2512,7 +2512,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2512 | if (sp == null) | 2512 | if (sp == null) |
2513 | { | 2513 | { |
2514 | m_log.DebugFormat( | 2514 | m_log.DebugFormat( |
2515 | "[SCENE]: Adding new child scene presence {0} to scene {1}", client.Name, RegionInfo.RegionName); | 2515 | "[SCENE]: Adding new child scene presence {0} to scene {1} at pos {2}", client.Name, RegionInfo.RegionName, client.StartPos); |
2516 | 2516 | ||
2517 | m_clientManager.Add(client); | 2517 | m_clientManager.Add(client); |
2518 | SubscribeToClientEvents(client); | 2518 | SubscribeToClientEvents(client); |
@@ -3249,9 +3249,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3249 | 3249 | ||
3250 | // Don't disable this log message - it's too helpful | 3250 | // Don't disable this log message - it's too helpful |
3251 | m_log.DebugFormat( | 3251 | m_log.DebugFormat( |
3252 | "[CONNECTION BEGIN]: Region {0} told of incoming {1} agent {2} {3} {4} (circuit code {5}, teleportflags {6})", | 3252 | "[SCENE]: Region {0} told of incoming {1} agent {2} {3} {4} (circuit code {5}, teleportflags {6}, position {7})", |
3253 | RegionInfo.RegionName, (agent.child ? "child" : "root"), agent.firstname, agent.lastname, | 3253 | RegionInfo.RegionName, (agent.child ? "child" : "root"), agent.firstname, agent.lastname, |
3254 | agent.AgentID, agent.circuitcode, teleportFlags); | 3254 | agent.AgentID, agent.circuitcode, teleportFlags, agent.startpos); |
3255 | 3255 | ||
3256 | if (LoginsDisabled) | 3256 | if (LoginsDisabled) |
3257 | { | 3257 | { |
@@ -3294,7 +3294,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3294 | catch (Exception e) | 3294 | catch (Exception e) |
3295 | { | 3295 | { |
3296 | m_log.ErrorFormat( | 3296 | m_log.ErrorFormat( |
3297 | "[CONNECTION BEGIN]: Exception verifying presence {0}{1}", e.Message, e.StackTrace); | 3297 | "[SCENE]: Exception verifying presence {0}{1}", e.Message, e.StackTrace); |
3298 | return false; | 3298 | return false; |
3299 | } | 3299 | } |
3300 | } | 3300 | } |
@@ -3307,12 +3307,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
3307 | catch (Exception e) | 3307 | catch (Exception e) |
3308 | { | 3308 | { |
3309 | m_log.ErrorFormat( | 3309 | m_log.ErrorFormat( |
3310 | "[CONNECTION BEGIN]: Exception authorizing user {0}{1}", e.Message, e.StackTrace); | 3310 | "[SCENE]: Exception authorizing user {0}{1}", e.Message, e.StackTrace); |
3311 | return false; | 3311 | return false; |
3312 | } | 3312 | } |
3313 | 3313 | ||
3314 | m_log.InfoFormat( | 3314 | m_log.InfoFormat( |
3315 | "[CONNECTION BEGIN]: Region {0} authenticated and authorized incoming {1} agent {2} {3} {4} (circuit code {5})", | 3315 | "[SCENE]: Region {0} authenticated and authorized incoming {1} agent {2} {3} {4} (circuit code {5})", |
3316 | RegionInfo.RegionName, (agent.child ? "child" : "root"), agent.firstname, agent.lastname, | 3316 | RegionInfo.RegionName, (agent.child ? "child" : "root"), agent.firstname, agent.lastname, |
3317 | agent.AgentID, agent.circuitcode); | 3317 | agent.AgentID, agent.circuitcode); |
3318 | 3318 | ||