Add a new api configure_logging to allow dumping the requests (#2875)

This commit is contained in:
Lianmin Zheng
2025-01-13 14:24:00 -08:00
committed by GitHub
parent 923f518337
commit 46d4431889
13 changed files with 164 additions and 71 deletions

View File

@@ -488,6 +488,13 @@ class ProfileReq(Enum):
STOP_PROFILE = 2
@dataclass
class ConfigureLoggingReq:
log_requests: Optional[bool] = None
dump_requests_folder: Optional[str] = None
dump_requests_threshold: Optional[int] = None
@dataclass
class OpenSessionReqInput:
capacity_of_str_len: int