sourcegraph/internal/requestclient
Thorsten Ball 0907185944
requestclient: propagate request client IP, add gitserver access logger (#38798)
Add a very verbose access logger for the following `gitserver` routes:

- `/exec`
- `/archive`
- `/git/`
- `/commands/get-object`
- `/p4-exec`

Enable it in site-config by adding `"log": { "gitserver.accessLogs": true }`.
Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
Co-authored-by: Vincent Ruijter <vincent.ruijter@sourcegraph.com>
Co-authored-by: Robert Lin <robert@bobheadxi.dev>
Co-authored-by: Joe Chen <joe@sourcegraph.com>
Co-authored-by: Ryan Slade <ryanslade@gmail.com>
2022-07-15 13:32:31 +02:00
..
client.go requestclient: propagate request client IP, add gitserver access logger (#38798) 2022-07-15 13:32:31 +02:00
http.go requestclient: propagate request client IP, add gitserver access logger (#38798) 2022-07-15 13:32:31 +02:00