[Utils] Support configure log level at runtime (#26583)

This commit is contained in:
Chao Shi
2026-05-29 14:49:06 -07:00
committed by GitHub
parent cf66693b35
commit 6ce49e5f4c
6 changed files with 34 additions and 0 deletions
@@ -18,6 +18,12 @@ By default, SGLang does not log any request contents. You can log them by using
You can control the verbosity by using `--log-request-level`.
See [Logging](./server_arguments#logging) for more details.
You can change verbosity at runtime:
```bash Command
python3 -m sglang.srt.managers.configure_logging --url http://localhost:30000 --log-level=debug
```
## Request Dump and Replay
You can dump all requests and replay them later for benchmarking or other purposes.