[logback-dev] svn commit: r2122 - logback/trunk/logback-access/src/main/java/ch/qos/logback/access/jetty
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Fri Jan 9 18:32:05 CET 2009
Author: ceki
Date: Fri Jan 9 18:32:04 2009
New Revision: 2122
Modified:
logback/trunk/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java
Log:
- removed problematic code
Modified: logback/trunk/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java
==============================================================================
--- logback/trunk/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java (original)
+++ logback/trunk/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java Fri Jan 9 18:32:04 2009
@@ -4,13 +4,10 @@
import java.util.HashMap;
import java.util.Iterator;
-import javax.servlet.http.HttpSession;
-
import org.mortbay.jetty.Request;
import org.mortbay.jetty.RequestLog;
import org.mortbay.jetty.Response;
-import ch.qos.logback.access.AccessConstants;
import ch.qos.logback.access.joran.JoranConfigurator;
import ch.qos.logback.access.spi.AccessEvent;
import ch.qos.logback.core.Appender;
@@ -116,13 +113,6 @@
jettyResponse);
AccessEvent accessEvent = new AccessEvent(jettyRequest, jettyResponse,
adapter);
-
- HttpSession s = jettyRequest.getSession();
- if (s != null) {
- System.out.println("Setting as session attribute");
- s.setAttribute(AccessConstants.LOGBACK_STATUS_MANAGER_KEY,
- getStatusManager());
- }
if (getFilterChainDecision(accessEvent) == FilterReply.DENY) {
return;
}
More information about the logback-dev
mailing list