mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-24 00:31:19 +08:00
Fix logging so we actually get info level entries in the log. (#1494)
This commit is contained in:
parent
ac8d36f3e5
commit
2f3d36a8a1
@ -48,4 +48,8 @@ _setup_logger()
|
|||||||
|
|
||||||
|
|
||||||
def init_logger(name: str):
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user