> For the complete documentation index, see [llms.txt](https://potoyang.gitbook.io/spring-in-action-v5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://potoyang.gitbook.io/spring-in-action-v5/di-17-zhang-guan-li-spring/17.2-shen-ru-admin-fu-wu-duan/17.2.4-cha-kan-bing-she-zhi-log-ji-bie.md).

# 17.2.4 查看并设置 log 级别

Actuator 的 `/loggers` 端点，有助于了解或修改应用程序的日志记录级别。Admin 服务端的 Loggers 选项卡，为 `/loggers` 端点添加了一个易于使用的 UI。在图 17.10 中，显示了按名称 org.springframework.boot 筛选的日志记录列表。

默认情况下，Admin 服务端显示所有包和类的日志记录级别。可以按名称（仅适用于类）或日志记录级别（显示配置，而不是从根记录器继承）筛选这些内容。

![图17.10 Loggers 选项卡显示应用程序中，包和类的日志记录级别，并允许您覆盖这些级别。](/files/-MkCSuUplBchOt4ueSdp)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://potoyang.gitbook.io/spring-in-action-v5/di-17-zhang-guan-li-spring/17.2-shen-ru-admin-fu-wu-duan/17.2.4-cha-kan-bing-she-zhi-log-ji-bie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
