Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
16adf3dc
Unverified
Commit
16adf3dc
authored
Sep 22, 2025
by
Chang Su
Committed by
GitHub
Sep 22, 2025
Browse files
[router] fix logger type mismatch (#10774)
Co-authored-by:
Simo Lin
<
linsimo.mark@gmail.com
>
parent
c3a1d775
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sgl-router/py_src/sglang_router/router.py
sgl-router/py_src/sglang_router/router.py
+1
-1
sgl-router/py_src/sglang_router/router_args.py
sgl-router/py_src/sglang_router/router_args.py
+1
-1
No files found.
sgl-router/py_src/sglang_router/router.py
View file @
16adf3dc
...
@@ -53,7 +53,7 @@ class Router:
...
@@ -53,7 +53,7 @@ class Router:
Useful when the dp aware scheduling strategy is enabled.
Useful when the dp aware scheduling strategy is enabled.
Default: None
Default: None
log_dir: Directory to store log files. If None, logs are only output to console. Default: None
log_dir: Directory to store log files. If None, logs are only output to console. Default: None
log_level: Logging level. Options: 'debug', 'info', 'warn
ing
', 'error'
, 'critical'
.
log_level: Logging level. Options: 'debug', 'info', 'warn', 'error'.
service_discovery: Enable Kubernetes service discovery. When enabled, the router will
service_discovery: Enable Kubernetes service discovery. When enabled, the router will
automatically discover worker pods based on the selector. Default: False
automatically discover worker pods based on the selector. Default: False
selector: Dictionary mapping of label keys to values for Kubernetes pod selection.
selector: Dictionary mapping of label keys to values for Kubernetes pod selection.
...
...
sgl-router/py_src/sglang_router/router_args.py
View file @
16adf3dc
...
@@ -249,7 +249,7 @@ class RouterArgs:
...
@@ -249,7 +249,7 @@ class RouterArgs:
f
"--
{
prefix
}
log-level"
,
f
"--
{
prefix
}
log-level"
,
type
=
str
,
type
=
str
,
default
=
"info"
,
default
=
"info"
,
choices
=
[
"debug"
,
"info"
,
"warn
ing
"
,
"error"
,
"critical"
],
choices
=
[
"debug"
,
"info"
,
"warn"
,
"error"
],
help
=
"Set the logging level. If not specified, defaults to INFO."
,
help
=
"Set the logging level. If not specified, defaults to INFO."
,
)
)
parser
.
add_argument
(
parser
.
add_argument
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment