Skip to content

Conversation

@hmellor
Copy link
Member

@hmellor hmellor commented Jul 28, 2025

This PR flips the default behaviour so that logging of requests is disabled by default for security/privacy reasons.

It then replaces the --disable-log-requests with --enable-log-requests for a better UX for opting in to logging requests.

hmellor added 3 commits July 28, 2025 10:44
…quests`

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@mergify
Copy link

mergify bot commented Jul 28, 2025

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @hmellor.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly flips the default behavior for request logging and replaces --disable-log-requests with --enable-log-requests. The changes are consistent across configuration, tests, and application code. The use of a deprecated property for backward compatibility is well-handled. I've found one critical issue with the implementation of the deprecation warning which could lead to a crash, and I've provided a suggestion to fix it.

hmellor added 2 commits July 28, 2025 11:10
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@mergify mergify bot removed the needs-rebase label Jul 28, 2025
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@github-actions
Copy link

👋 Hi! Thank you for contributing to the vLLM project.

💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels.

Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can either: Add ready label to the PR or enable auto-merge.

🚀

@hmellor hmellor added the ready ONLY add when PR is ready to merge/full CI is needed label Jul 30, 2025
hmellor added 3 commits July 31, 2025 10:43
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@hmellor hmellor deleted the flip-log-request branch August 1, 2025 16:16
npanpaliya pushed a commit to odh-on-pz/vllm-upstream that referenced this pull request Aug 6, 2025
…uests` (vllm-project#21739)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@kouroshHakha
Copy link
Collaborator

This PR is not fully backward compatible from async engine arg perspective @hmellor . please see ray-project/ray#55314

@hmellor
Copy link
Member Author

hmellor commented Aug 7, 2025

You can't check if it's an attr anymore because it's been replaced with a property. It is still gettable (async_engine_args.disable_log_requests) and settable (async_engine_args.disable_log_requests = x).

@kouroshHakha
Copy link
Collaborator

yeah but our usage was AsyncLLMEngineArgs(disable_log_requests=False, ...)

@hmellor
Copy link
Member Author

hmellor commented Aug 8, 2025

I see, so the issue is that it's no longer in the __init__

jinzhen-lin pushed a commit to jinzhen-lin/vllm that referenced this pull request Aug 9, 2025
…uests` (vllm-project#21739)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Jinzhen Lin <linjinzhen@hotmail.com>
noamgat pushed a commit to noamgat/vllm that referenced this pull request Aug 9, 2025
…uests` (vllm-project#21739)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Noam Gat <noamgat@gmail.com>
paulpak58 pushed a commit to paulpak58/vllm that referenced this pull request Aug 13, 2025
…uests` (vllm-project#21739)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Paul Pak <paulpak58@gmail.com>
diegocastanibm pushed a commit to diegocastanibm/vllm that referenced this pull request Aug 15, 2025
…uests` (vllm-project#21739)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Diego-Castan <diego.castan@ibm.com>
epwalsh pushed a commit to epwalsh/vllm that referenced this pull request Aug 28, 2025
…uests` (vllm-project#21739)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
zhewenl pushed a commit to zhewenl/vllm that referenced this pull request Aug 28, 2025
…uests` (vllm-project#21739)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/build frontend performance Performance-related issues ready ONLY add when PR is ready to merge/full CI is needed v1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants