Allow request id to be populated from specified HTTP request header #50290
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
enhancement
feature: logging
How to use GitHub
Is your feature request related to a problem? Please describe.
According to
server/lib/private/AppFramework/Http/RequestId.php
Line 23 in 56c4565
server/lib/private/Server.php
Line 927 in 56c4565
Describe the solution you'd like
Introduce config parameter (i.e.
request_id_header
); when defined and not empty, check if request contains such header with non-empty value and use it as request id in NC server; otherwise useUNIQUE_ID
if defined, otherwise generate random id.Describe alternatives you've considered
Dirty workaround for Apache to use request IDs from
X-Request-ID
header set by reverse proxy:The text was updated successfully, but these errors were encountered: