Skip to content

[Feature] When viewing logs on the website, 1xx response codes are not highlighted #11552

@kimo838

Description

@kimo838

1Panel Version

2.0.16

Please describe your needs or suggestions for improvements

在网站中查看日志时,日志中的 1xx 响应码不会高亮,如果响应大小正好匹配到其它非 1xx 响应码就会将响应大小错误高亮。

手动编辑的站点日志:

1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 499 0 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 499 200 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 522 0 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 522 200 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 204 20 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 429 200 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 511 200 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 100 0 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 101 0 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 101 200 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 101 200 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 102 0 "-" "-" "-"
1.1.1.1 - - [01/Jan/2026:10:10:00 +0800] "GET / HTTP/1.1" 103 400 "-" "-" "-"

在网站中查看日志:

Image

Please describe the solution you suggest

可以将 1xx 状态码 也匹配高亮嘛。

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions