Skip to content

Commit 474e47b

Browse files
committed
Update log config
Signed-off-by: diabloneo <[email protected]>
1 parent fa95657 commit 474e47b

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,5 @@ cython_debug/
172172

173173
# PyPI configuration file
174174
.pypirc
175+
176+
vllm_server.log

log_config.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,27 @@
2020
},
2121
"file": {
2222
"class": "logging.FileHandler",
23-
"formatter": "standard",
23+
"formatter": "vllm_default",
2424
"level": "INFO",
2525
"filename": "vllm_server.log",
2626
"mode": "a"
2727
}
2828
},
2929
"root": {
30-
"handlers": ["console", "file"],
30+
"handlers": [
31+
"console",
32+
"file"
33+
],
3134
"level": "INFO"
3235
},
3336
"loggers": {
3437
"vllm": {
35-
"handlers": ["console", "file"],
38+
"handlers": [
39+
"console",
40+
"file"
41+
],
3642
"level": "INFO",
3743
"propagate": false
3844
}
3945
}
40-
}
46+
}

0 commit comments

Comments
 (0)