package hello;

import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.Logger;

public class GrouperServlet extends HttpServlet {
    private static final Logger log = Logger.getLogger(GrouperServlet.class.getName());
    public void service(HttpServletRequest request, HttpServletResponse response) throws IOException {
        String phoneNumber = request.getParameter("From");
        String body = request.getParameter("Body");
        log.info(phoneNumber + ": " + body);
        Text text = new Text(phoneNumber, body);
        text.execute();
        response.setContentType("application/xml");
        response.getWriter().print("<Response></Response>");
    }
}
@@ -486,16 +486,55 @@
 ption %7B%0A
+        BasicConfigurator.configure();%0A
         

Fix logging