users@jersey.java.net

[Jersey] Track url when broken pipe occur

From: <jmelzer_at_meinestadt.de>
Date: Fri, 10 Feb 2012 08:33:01 +0000 (GMT)

Hi

I want to log the url if the client stops the connection.
We getting this log entry:
[ClientAbortException: java.net.SocketException: Broken pipe]
        at
com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(A
bstractRootElementProvider.java:159) ~[jersey-core-1.10.jar:1.10]
        at
com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.
java:306) ~[jersey-server-1.10.jar:1.10]

But I can not see any hook to log the request url or stack trace of the
method that was called.

Anyone an idea?

Thanks
chokdee