Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set local logging level via env variable #2774

Merged
merged 2 commits into from
Feb 5, 2024

Conversation

gardberg
Copy link
Contributor

@gardberg gardberg commented Feb 5, 2024

Added the ability to set the log level manually using a LOG_LEVEL environment variable instead of always using logging.DEBUG as default.

For example:

LOG_LEVEL=INFO python -m vllm.entrypoints.openai.api_server \
--model facebook/opt-125m

@simon-mo simon-mo merged commit b92adec into vllm-project:main Feb 5, 2024
17 checks passed
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
alexm-neuralmagic pushed a commit to neuralmagic/nm-vllm that referenced this pull request Feb 13, 2024
jvmncs pushed a commit to jvmncs/vllm that referenced this pull request Feb 14, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Feb 20, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Feb 22, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Mar 4, 2024
@gardberg gardberg deleted the env-log branch April 4, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants