jetty / jetty.project

Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
https://eclipse.dev/jetty
Other
3.78k stars 1.91k forks source link

Jetty 12 - Optimize RequestLog information retrieval #8715

Open sbordet opened 1 year ago

sbordet commented 1 year ago

Jetty version(s) 12+

Enhancement Description Following the comments in #8705, we should find a more efficient way to extract information from the current Jakarta EE request to be stored in the Jetty core request so that it is accessible to the RequestLog. In particular, information that are specific to Jakarta EE such as the remote user, the real path and the Servlet name.

The RequestLog implementation should collaborate and expose whether it really need those information, so that if it is not needed it is not retrieved nor stored.

The ideas in #8705 are too specific to a particular implementation of RequestLog, the CustomRequestLog, but the mechanism should be generic.

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.