diff options
author | Jeff Ames | 2008-02-10 01:57:59 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-10 01:57:59 +0000 |
commit | e207284fefa60637e35405ebc87e5e151bd2eabd (patch) | |
tree | 6e9954502ea44fe8f6327cb65cfd0026c3322578 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Set svn:ignore in OpenSim/Tests. (diff) | |
download | opensim-SC-e207284fefa60637e35405ebc87e5e151bd2eabd.zip opensim-SC-e207284fefa60637e35405ebc87e5e151bd2eabd.tar.gz opensim-SC-e207284fefa60637e35405ebc87e5e151bd2eabd.tar.bz2 opensim-SC-e207284fefa60637e35405ebc87e5e151bd2eabd.tar.xz |
Clean up logging calls using String.Format explicitly
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index a4f5028..5026688 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1432,7 +1432,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1432 | { | 1432 | { |
1433 | if (m_scenePresences.Remove(agentID)) | 1433 | if (m_scenePresences.Remove(agentID)) |
1434 | { | 1434 | { |
1435 | //m_log.Info(String.Format("[SCENE] Removed scene presence {0}", agentID)); | 1435 | //m_log.InfoFormat("[SCENE] Removed scene presence {0}", agentID); |
1436 | } | 1436 | } |
1437 | else | 1437 | else |
1438 | { | 1438 | { |
@@ -1445,7 +1445,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1445 | { | 1445 | { |
1446 | if (Entities.Remove(agentID)) | 1446 | if (Entities.Remove(agentID)) |
1447 | { | 1447 | { |
1448 | //m_log.Info(String.Format("[SCENE] Removed scene presence {0} from entities list", agentID)); | 1448 | //m_log.InfoFormat("[SCENE] Removed scene presence {0} from entities list", agentID); |
1449 | } | 1449 | } |
1450 | else | 1450 | else |
1451 | { | 1451 | { |
@@ -1470,8 +1470,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1470 | // Remove client agent from profile, so new logins will work | 1470 | // Remove client agent from profile, so new logins will work |
1471 | CommsManager.UserService.clearUserAgent(agentID); | 1471 | CommsManager.UserService.clearUserAgent(agentID); |
1472 | 1472 | ||
1473 | //m_log.Info(String.Format("[SCENE] Memory pre GC {0}", System.GC.GetTotalMemory(false))); | 1473 | //m_log.InfoFormat("[SCENE] Memory pre GC {0}", System.GC.GetTotalMemory(false)); |
1474 | //m_log.Info(String.Format("[SCENE] Memory post GC {0}", System.GC.GetTotalMemory(true))); | 1474 | //m_log.InfoFormat("[SCENE] Memory post GC {0}", System.GC.GetTotalMemory(true)); |
1475 | } | 1475 | } |
1476 | 1476 | ||
1477 | public override void CloseAllAgents(uint circuitcode) | 1477 | public override void CloseAllAgents(uint circuitcode) |