Guillaume DROUET created LOGBACK-1513: -----------------------------------------
Summary: [logback-access] Wrong duration reported by LogbackValve with spring-webflux Key: LOGBACK-1513 URL: https://jira.qos.ch/browse/LOGBACK-1513 Project: logback Issue Type: Bug Environment: Spring Webflux manages request processing through reactive streams Publisher so if we want to log the request duration we have to wait for the end of the subscription which writes to the response. The problem with LogbackValve is when it calculates the elapsed time in the AccessEvent just after calling getNext().invoke, which is actually the duration of Publisher's creation and not the time it takes to subscribe to it and write to the HTTP response. Reporter: Guillaume DROUET Assignee: Logback dev list -- This message was sent by Atlassian Jira (v8.8.0#808000) _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev