dcache icon indicating copy to clipboard operation
dcache copied to clipboard

AbstractLoggingHandler fails to log activity if an exception is thrown

Open paulmillar opened this issue 2 months ago • 0 comments

The class org.dcache.http.AbstractLoggingHandler contains the handle method to process requests.

For non-async requests, this handle method calls requestCompleted directly, to record the activity after the request was processed (see super.handle).

However, the if super.handle throws an exception then requestCompleted is not called and the request is not logged in the access log file.

paulmillar avatar Nov 07 '25 15:11 paulmillar