Skip to content

Commit

Permalink
Fix logging so we actually get info level entries in the log. (vllm-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
Tostino authored Oct 30, 2023
1 parent c96358c commit bdb93e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vllm/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ def _setup_logger():


def init_logger(name: str):
return logging.getLogger(name)
# Use the same settings as above for root logger
logger = logging.getLogger(name)
logger.setLevel(logging.DEBUG)
logger.addHandler(_default_handler)
return logger

0 comments on commit bdb93e8

Please sign in to comment.