feat: add option to log every request with path and IP

This commit is contained in:
crapStone 2025-06-12 22:57:04 +02:00 committed by crapStone
parent 2b2f280bc3
commit 023ea17492
5 changed files with 30 additions and 0 deletions

View file

@ -115,6 +115,12 @@ var (
EnvVars: []string{"USE_PROXY_PROTOCOL"},
Value: false,
},
&cli.BoolFlag{
Name: "log-every-request",
Usage: "logs every request with reqID, host and path",
EnvVars: []string{"LOG_EVERY_REQUEST"},
Value: false,
},
// Default branches to fetch assets from
&cli.StringSliceFlag{