add requester info
authorJean-Philippe Orsini <orsinije@fr.ibm.com>
Sun, 15 Oct 2017 15:31:42 +0000 (17:31 +0200)
committerJean-Philippe Orsini <orsinije@fr.ibm.com>
Sun, 15 Oct 2017 15:31:42 +0000 (17:31 +0200)
war/src/main/java/pnews/servlet/Pnews.java

index 845abbb..da891d1 100644 (file)
@@ -117,8 +117,8 @@ public class Pnews extends HttpServlet {
                 String path;
                 InputStream in;
 
-                LOG.info("doGet " + req.getRequestURI());
-
+                LOG.info("doGet " + req.getRemoteAddr().toString() + " " + req.getRequestURI() + " " + req.getQueryString());
+                                
                 path = req.getPathInfo();
 
                 if (path.equals("/redirect")) {