Add option to disable request logs (#887)

Closes #785
This commit is contained in:
Dany Marcoux
2024-10-17 21:47:56 +02:00
committed by GitHub
parent c177de164a
commit 6548e16baa
2 changed files with 12 additions and 0 deletions

View File

@@ -29,3 +29,9 @@ endif =
if-env = LD_LOG_X_FORWARDED_FOR
log-x-forwarded-for = %(_)
endif =
if-env = LD_DISABLE_REQUEST_LOGS=true
disable-logging = true
log-4xx = true
log-5xx = true
endif =