fix(logging): 放宽请求参数日志展开深度

This commit is contained in:
root committed 2026-02-17 14:24:06 +08:00
1 parent f3ddb5ecf4
commit 69dcf2fe0c
1 file changed
+2 -2
+2 -2
View File
@@ -38,8 +38,8 @@ def _short_text(value: Any, max_len: int = 240) -> Any:
def _sanitize_payload(value: Any, depth: int = 0) -> Any:
if depth > 4:
return "..."
if depth > 8:
return "<depth_limited>"
if isinstance(value, dict):
result = {}
for key, item in value.items():