Log Handler swallowed if connection is closed.

31 views
Skip to first unread message

javadevmtl

unread,
Apr 22, 2021, 6:17:22 PM4/22/21
to vert.x
The log handler has an option to log straight away or at the end of the chain by using routingContext.addBodyEndHandler();

The problem is that if the connection is closed by the client before we can respond. The log is never written and we loose any information that would have been logged there.

Is there a way around this?

Julien Viet

unread,
Apr 23, 2021, 4:03:43 AM4/23/21
to vert.x
can you open an issue for this ?

we might have to do this differently then
> --
> You received this message because you are subscribed to the Google Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/f8d34f5e-5aab-45bb-99cb-f3717c3c4de0n%40googlegroups.com.

javadevmtl

unread,
Apr 23, 2021, 10:50:44 AM4/23/21
to vert.x
Reply all
Reply to author
Forward
0 new messages