Turn off verbose log
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -145,7 +145,7 @@ public class DirectControlServlet extends HttpServlet { | ... | @@ -145,7 +145,7 @@ public class DirectControlServlet extends HttpServlet { |
145 | } | 145 | } |
146 | } | 146 | } |
147 | } | 147 | } |
148 | 148 | ||
149 | // If there is a mapping for this pathInfo, run the corresponding service | 149 | // If there is a mapping for this pathInfo, run the corresponding service |
150 | // otherwise, return an error | 150 | // otherwise, return an error |
151 | String serviceName = serviceURLMappings.get(pathInfo + "#" + method); | 151 | String serviceName = serviceURLMappings.get(pathInfo + "#" + method); |
... | @@ -206,7 +206,7 @@ public class DirectControlServlet extends HttpServlet { | ... | @@ -206,7 +206,7 @@ public class DirectControlServlet extends HttpServlet { |
206 | 206 | ||
207 | Map<String, Object> result = dispatcher.runSync(serviceName, context); | 207 | Map<String, Object> result = dispatcher.runSync(serviceName, context); |
208 | 208 | ||
209 | System.err.println("RESULT:" + result); | 209 | // System.err.println("RESULT:" + result); |
210 | 210 | ||
211 | result.remove("responseMessage"); | 211 | result.remove("responseMessage"); |
212 | 212 | ||
... | @@ -222,7 +222,7 @@ public class DirectControlServlet extends HttpServlet { | ... | @@ -222,7 +222,7 @@ public class DirectControlServlet extends HttpServlet { |
222 | String jsonStr = json.toString(); | 222 | String jsonStr = json.toString(); |
223 | response.setContentLength(jsonStr.getBytes("UTF8").length); | 223 | response.setContentLength(jsonStr.getBytes("UTF8").length); |
224 | writer.write(jsonStr); | 224 | writer.write(jsonStr); |
225 | Debug.logWarning("JSON result [%s]", module, jsonStr); | 225 | // Debug.logWarning("JSON result [%s]", module, jsonStr); |
226 | 226 | ||
227 | writer.flush(); | 227 | writer.flush(); |
228 | writer.close(); | 228 | writer.close(); | ... | ... |
-
Please register or sign in to post a comment