minor logging changes to connectToServlet, and updating or gitignore