You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logback Access 2.0.1 and Jetty 11. (Probably also occurs in the previous Logback Access 1.4 series.
The issue occurs because the Jetty web server recycles org.eclipse.jetty.server.Request Objects. When the server completes processing a given Request object, the server recycles the Request Object. After the Request Object is recycled, any various data related to the previous request will no longer be available. For example, if using an appender that processes asynchronously, the Request object may be recycled before logging.
AccessEvent has prepareForDeferredProcessing method to avoid this, but the cookie is not considered here.
Logback Access 2.0.1 and Jetty 11. (Probably also occurs in the previous Logback Access 1.4 series.
The issue occurs because the Jetty web server recycles
org.eclipse.jetty.server.Request
Objects. When the server completes processing a given Request object, the server recycles the Request Object. After the Request Object is recycled, any various data related to the previous request will no longer be available. For example, if using an appender that processes asynchronously, the Request object may be recycled before logging.AccessEvent
hasprepareForDeferredProcessing
method to avoid this, but the cookie is not considered here.logback-access/common/src/main/java/ch/qos/logback/access/common/spi/AccessEvent.java
Lines 623 to 645 in 40fada8
logback-access/common/src/main/java/ch/qos/logback/access/common/spi/AccessEvent.java
Lines 457 to 473 in 40fada8
The text was updated successfully, but these errors were encountered: