Skip to content

Commit

Permalink
Rename vllm.logging to vllm.logging_utils (#10134)
Browse files Browse the repository at this point in the history
  • Loading branch information
flozi00 authored Nov 8, 2024
1 parent 87713c6 commit e1b5a82
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ files = [
"vllm/entrypoints",
"vllm/core",
"vllm/inputs",
"vllm/logging",
"vllm/logging_utils",
"vllm/multimodal",
"vllm/platforms",
"vllm/transformers_utils",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

from vllm.logger import (_DATE_FORMAT, _FORMAT, _configure_vllm_root_logger,
enable_trace_function_call, init_logger)
from vllm.logging import NewLineFormatter
from vllm.logging_utils import NewLineFormatter


def f1(x):
Expand Down
2 changes: 1 addition & 1 deletion vllm/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
DEFAULT_LOGGING_CONFIG = {
"formatters": {
"vllm": {
"class": "vllm.logging.NewLineFormatter",
"class": "vllm.logging_utils.NewLineFormatter",
"datefmt": _DATE_FORMAT,
"format": _FORMAT,
},
Expand Down
5 changes: 0 additions & 5 deletions vllm/logging/__init__.py

This file was deleted.

5 changes: 5 additions & 0 deletions vllm/logging_utils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from vllm.logging_utils.formatter import NewLineFormatter

__all__ = [
"NewLineFormatter",
]
File renamed without changes.

0 comments on commit e1b5a82

Please sign in to comment.