[Mulgara-svn] r1663 - trunk/src/jar/web/java/org/mulgara/webquery
pag at mulgara.org
pag at mulgara.org
Fri Apr 10 17:58:41 UTC 2009
Author: pag
Date: 2009-04-10 10:58:41 -0700 (Fri, 10 Apr 2009)
New Revision: 1663
Modified:
trunk/src/jar/web/java/org/mulgara/webquery/QueryServlet.java
Log:
Removed old logging calls which were now going to a different implementation
Modified: trunk/src/jar/web/java/org/mulgara/webquery/QueryServlet.java
===================================================================
--- trunk/src/jar/web/java/org/mulgara/webquery/QueryServlet.java 2009-04-06 17:54:19 UTC (rev 1662)
+++ trunk/src/jar/web/java/org/mulgara/webquery/QueryServlet.java 2009-04-10 17:58:41 UTC (rev 1663)
@@ -215,7 +215,6 @@
* @see javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
*/
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException {
- log("POST request: " + req);
basePath = calcBasePath(req.getRequestURI());
if (!req.getRequestURI().contains("/" + EXECUTE_LINK)) {
resp.sendError(SC_BAD_REQUEST, "Sent a command to the wrong page.");
@@ -753,11 +752,9 @@
*/
private String relPath(String full) {
if (full.startsWith(basePath)) {
- log("Calculating relpath for: " + full + " | " + basePath);
String path = full.substring(basePath.length());
return path.startsWith("/") ? path : "/" + path;
}
- log("Path does not start with base: " + full + " | " + basePath);
return full;
}
More information about the Mulgara-svn
mailing list