aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorCharles Krinke2009-01-12 03:49:48 +0000
committerCharles Krinke2009-01-12 03:49:48 +0000
commitd7f1660761a2078b88acd3b3e3de4f3e13e35b0c (patch)
treecf7160b00793c22d50444621b65c2397c20f96ff /OpenSim
parentThank you kindly, Tlaukkan (Tommil) for a patch that: (diff)
downloadopensim-SC_OLD-d7f1660761a2078b88acd3b3e3de4f3e13e35b0c.zip
opensim-SC_OLD-d7f1660761a2078b88acd3b3e3de4f3e13e35b0c.tar.gz
opensim-SC_OLD-d7f1660761a2078b88acd3b3e3de4f3e13e35b0c.tar.bz2
opensim-SC_OLD-d7f1660761a2078b88acd3b3e3de4f3e13e35b0c.tar.xz
Commenting out the succesful REST message as under heavy use there
are multiple messages in a second and that is usually (in my experience) meaning the logging itself is slowing down the program. Leaving the unsuccesful message as we need to know about that path.
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/AssetServer/RestService.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Grid/AssetServer/RestService.cs b/OpenSim/Grid/AssetServer/RestService.cs
index 8200f11..7b5b334 100644
--- a/OpenSim/Grid/AssetServer/RestService.cs
+++ b/OpenSim/Grid/AssetServer/RestService.cs
@@ -97,9 +97,13 @@ namespace OpenSim.Grid.AssetServer
97 97
98 result = ms.GetBuffer(); 98 result = ms.GetBuffer();
99 99
100 m_log.InfoFormat( 100//Ckrinke 1/11/09 Commenting out the succesful REST message as under heavy use there
101 "[REST]: GET:/asset found {0} with name {1}, size {2} bytes", 101//are multiple messages in a second and that is usually (in my experience) meaning
102 assetID, asset.Name, result.Length); 102//the logging itself is slowing down the program. Leaving the unsuccesful message
103//as we need to know about that path.
104// m_log.InfoFormat(
105// "[REST]: GET:/asset found {0} with name {1}, size {2} bytes",
106// assetID, asset.Name, result.Length);
103 107
104 Array.Resize<byte>(ref result, (int) ms.Length); 108 Array.Resize<byte>(ref result, (int) ms.Length);
105 } 109 }