Skip to content

Conversation

jaredoconnell
Copy link
Collaborator

The logging documentation is buried in a code file, and it's wrong, so this PR corrects that.

@jaredoconnell jaredoconnell marked this pull request as ready for review July 10, 2025 21:20
Signed-off-by: Jared O'Connell <[email protected]>
sjmonson
sjmonson previously approved these changes Jul 10, 2025
Copy link
Collaborator

@sjmonson sjmonson left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Jared O'Connell <[email protected]>
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR corrects and centralizes the logging environment variable documentation by renaming outdated variable names and adding troubleshooting guidance.

  • Renamed logging variables in the code docstring (LOG_LEVEL → CONSOLE_LOG_LEVEL, FILE → LOG_FILE, FILE_LEVEL → LOG_FILE_LEVEL).
  • Added a note in the logger docstring to run guidellm config if environment variables aren’t applied.
  • Created a new “Logging” section in DEVELOPING.md with the updated variable names and usage instructions.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/guidellm/logger.py Updated env‐var names in docstring and added config validation note
DEVELOPING.md Added Logging section with environment variable reference and troubleshooting
Comments suppressed due to low confidence (2)

src/guidellm/logger.py:19

  • Indent this line (and the following continuation line) to match the existing docstring indentation so it renders correctly.
If logging isn't responding to the environment variables, run the `guidellm config`

DEVELOPING.md:279

  • [nitpick] Add a period at the end of this bullet to match the punctuation style of the other entries.
- `GUIDELLM__LOGGING__LOG_FILE`: Path to the log file for file logging (default: guidellm.log if log file level set else none)

@markurtz markurtz merged commit 0d9a539 into vllm-project:main Jul 10, 2025
17 checks passed
@jaredoconnell jaredoconnell deleted the fix-logging-docs branch July 11, 2025 03:12
DaltheCow pushed a commit that referenced this pull request Jul 15, 2025
The logging documentation is buried in a code file, and it's wrong, so
this PR corrects that.

---------

Signed-off-by: Jared O'Connell <[email protected]>
Co-authored-by: Mark Kurtz <[email protected]>
DaltheCow pushed a commit that referenced this pull request Jul 15, 2025
The logging documentation is buried in a code file, and it's wrong, so
this PR corrects that.

---------

Signed-off-by: Jared O'Connell <[email protected]>
Co-authored-by: Mark Kurtz <[email protected]>
Signed-off-by: dalthecow <[email protected]>
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.

3 participants