Show Table of Contents
14.6. 日志配置属性
14.6.1. Root Logger 属性
表 14.7. Root Logger 属性
| 属性 | 数据类型 | 描述 |
|---|---|---|
| level | 字符串 |
root logger 记录的最大级别的日志消息。
|
| handlers | String[] |
Root Logger 使用的处理程序列表。
|
| filter-spec | 字符串 |
定义过滤器的表达式,下面的表达式定义了一个过滤器,它排除不匹配某个模式的条目,如:
not(match("JBAS.*"))。
|
注意
为 root logger 指定的
filter-spec 不是从其他处理程序继承的。您必须为每个处理程序指定一个 filter-spec。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.