From d7f1660761a2078b88acd3b3e3de4f3e13e35b0c Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Mon, 12 Jan 2009 03:49:48 +0000 Subject: 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. --- OpenSim/Grid/AssetServer/RestService.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'OpenSim/Grid/AssetServer/RestService.cs') 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 result = ms.GetBuffer(); - m_log.InfoFormat( - "[REST]: GET:/asset found {0} with name {1}, size {2} bytes", - assetID, asset.Name, result.Length); +//Ckrinke 1/11/09 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. +// m_log.InfoFormat( +// "[REST]: GET:/asset found {0} with name {1}, size {2} bytes", +// assetID, asset.Name, result.Length); Array.Resize(ref result, (int) ms.Length); } -- cgit v1.1