summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorThomas Becker2011-12-12 04:32:23 (EST)
committer Simone Bordet2012-01-06 09:46:23 (EST)
commit5e181308540fe80879392cab7fa51341db511b34 (patch)
tree56f4b26da4f5bafd44c4e468892853fb2ac4e4b0
parente666ed67cbdc41c9700ea729eecbddb3771f60f1 (diff)
downloadorg.eclipse.jetty.project-5e181308540fe80879392cab7fa51341db511b34.zip
org.eclipse.jetty.project-5e181308540fe80879392cab7fa51341db511b34.tar.gz
org.eclipse.jetty.project-5e181308540fe80879392cab7fa51341db511b34.tar.bz2
365411: Removed static logger from ProxyServlet
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
-rw-r--r--jetty-servlets/src/main/java/org/eclipse/jetty/servlets/ProxyServlet.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/ProxyServlet.java b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/ProxyServlet.java
index 2b186b4..784710d 100644
--- a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/ProxyServlet.java
+++ b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/ProxyServlet.java
@@ -84,8 +84,6 @@ import org.eclipse.jetty.util.thread.QueuedThreadPool;
*/
public class ProxyServlet implements Servlet
{
- private static final Logger LOG = Log.getLogger(ProxyServlet.class);
-
protected Logger _log;
protected HttpClient _client;
protected String _hostHeader;
@@ -497,7 +495,7 @@ public class ProxyServlet implements Servlet
{
if (ex instanceof EofException)
{
- LOG.ignore(ex);
+ _log.ignore(ex);
return;
}
handleOnException(ex,request,response);
@@ -732,8 +730,8 @@ public class ProxyServlet implements Servlet
*/
protected void handleOnException(Throwable ex, HttpServletRequest request, HttpServletResponse response)
{
- LOG.warn(ex.toString());
- LOG.debug(ex);
+ _log.warn(ex.toString());
+ _log.debug(ex);
if (!response.isCommitted())
{
response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);