[Frontend] Log output token IDs at DEBUG level (#52098)

Signed-off-by: ruirui6946 <142162413+ruirui6946@users.noreply.github.com>
This commit is contained in:
yang rui
2026-08-13 13:11:51 +00:00
committed by GitHub
parent 015660da91
commit 152c913a63
3 changed files with 52 additions and 25 deletions
+3 -3
View File
@@ -141,9 +141,9 @@ class BaseFrontendArgs:
"""Enable the `/tokenizer_info` endpoint. May expose chat
templates and other tokenizer configuration."""
enable_log_outputs: bool = False
"""If set to True, log model outputs (generations).
Requires `--enable-log-requests`. As with `--enable-log-requests`,
information is only logged at INFO level at maximum."""
"""If set to True, log model outputs (generations). Requires
`--enable-log-requests`. Output text and finish reasons are logged at INFO,
while output token IDs are logged at DEBUG."""
enable_log_deltas: bool = True
"""If set to False, output deltas will not be logged. Relevant only if
--enable-log-outputs is set.