vLLM vllm/entrypoints/serve/utils/request_logger.py source (RequestLogger)
repo
Fields
id
sources/sec-vllm-request-logger-sourcePublisher
vLLM project
Kind
repo
Published
2026-10-04
Accessed
2026-10-04
notes
log_inputs() emits the raw prompt string via %r at DEBUG and prompt_token_ids unredacted; log_request_body() dumps request.model_dump_json(exclude_unset=True) at DEBUG. No field-level redaction exists in the engine. The class only exists when --enable-log-requests is passed, and warns at construction if the minimum log level is above INFO.
Notes
log_inputs() emits the raw prompt string via %r at DEBUG and prompt_token_ids unredacted; log_request_body() dumps request.model_dump_json(exclude_unset=True) at DEBUG. No field-level redaction exists in the engine. The class only exists when --enable-log-requests is passed, and warns at construction if the minimum log level is above INFO.
Cross-references
This record references no other records.