API: Add request logging
Log all the parts of a request if the config flag is set. The logged fields are all server side anyways, so nothing is being exposed to clients. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
522999ebb4
commit
3826815edb
4 changed files with 61 additions and 28 deletions
|
|
@ -31,6 +31,10 @@ logging:
|
|||
# Enable generation parameter logging (default: False)
|
||||
generation_params: False
|
||||
|
||||
# Enable request logging (default: False)
|
||||
# NOTE: Only use this for debugging!
|
||||
requests: False
|
||||
|
||||
# Options for sampling
|
||||
sampling:
|
||||
# Override preset name. Find this in the sampler-overrides folder (default: None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue