feat: add debug log for request and response (#19781) (#19783)

Co-authored-by: hashjang <hash@geek.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
This commit is contained in:
Hashcon 2025-05-17 17:31:09 +08:00 • committed by GitHub
commit 6a74c97a0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 352 additions and 0 deletions

View file

@ -17,6 +17,12 @@ class DeploymentConfig(BaseSettings):
default=False,
)
# Request logging configuration
ENABLE_REQUEST_LOGGING: bool = Field(
description="Enable request and response body logging",
default=False,
)
EDITION: str = Field(
description="Deployment edition of the application (e.g., 'SELF_HOSTED', 'CLOUD')",
default="SELF_HOSTED",