From c5be9d0b9bd8afdf50cc510c6e6787ad04c56d29 Mon Sep 17 00:00:00 2001 From: Rajani Karuturi Date: Sat, 17 Jan 2015 04:23:44 +0530 Subject: [PATCH] volume upload: removed debug messages in post request handler. --- .../resource/NfsSecondaryStorageResource.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java b/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java index 2cebcd81887..d4edab3f396 100755 --- a/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java +++ b/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java @@ -2659,24 +2659,10 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S public void handleInternal(HttpRequest httpRequest, HttpResponse httpResponse, HttpContext httpContext) throws HttpException, IOException { - s_logger.info(""); // empty line before each request - s_logger.info(httpRequest.getRequestLine()); - s_logger.info("-------- HEADERS --------"); - for (Header header : httpRequest.getAllHeaders()) { - s_logger.info(header.getName() + " : " + header.getValue()); - } - s_logger.info("--------"); - HttpEntity entity = null; if (httpRequest instanceof HttpEntityEnclosingRequest) { entity = ((HttpEntityEnclosingRequest) httpRequest).getEntity(); } - - if (entity != null) { - s_logger.info(entity.getContentType()); - s_logger.info(entity.getContentLength()); - s_logger.info(entity.isChunked()); - } // For some reason, just putting the incoming entity into // the response will not work. We have to buffer the message. byte[] data;