我们正在使用 Python FastAPI 编写一个 Web 服务,该服务将托管在 Kubernetes 中。出于审计目的,我们需要保存特定路由的request/的原始 JSON 正文。JSON的主体大小约为1MB,最好这不应该影响响应时间。我们怎样才能做到这一点?responserequestresponse
request
response
python logging audit-logging python-logging fastapi
audit-logging ×1
fastapi ×1
logging ×1
python ×1
python-logging ×1