changed log level

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@112322 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2015-03-03 14:16:46 +00:00
parent c755ecde63
commit 03150f9983
1 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ public class HttpResolver extends HttpServlet {
uri = request.getParameter(SMP_URI);
if (uri == null || uri.equals("")) {
logger.debug("URI not found");
logger.warn("URI not found");
response.sendError(404);
return;
}
@ -67,20 +67,20 @@ public class HttpResolver extends HttpServlet {
if (fileName == null || fileName.equals("")) {
logger.debug("fileName not found");
logger.warn("fileName not found");
fileName = null;
}
contentType = request.getParameter(CONTENT_TYPE);
if (contentType == null || contentType.equals("")) {
logger.debug("contentType not found");
logger.warn("contentType not found");
contentType = null;
}
String validation = request.getParameter(VALIDATION);
validatingURI = Boolean.parseBoolean(validation);
logger.debug("validation? "+validatingURI);
logger.info("validation? "+validatingURI);
//we should not unescape the filename with spaces
@ -103,7 +103,7 @@ public class HttpResolver extends HttpServlet {
uri = uri.replace(" ","+");//the char + is removed when the servlet is doing unescaping of the query paramenters, we just put it back
}
logger.debug("URI = "+ uri);
logger.info("URI = "+ uri);
InputStream in = null;
try {