Show Table of Contents
14.6.2. 日志类别属性
表 14.8. 日志类别属性
| 属性 | 数据类型 | 描述 |
|---|---|---|
| level | 字符串 |
日志类别记录的最大级别的日志消息。
|
| handlers | String[] |
Root Logger 使用的处理程序列表。
|
| use-parent-handlers | 布尔值(Boolean) |
如果为 true,除了其他分配的处理程序外,这个列表将使用 Root Logger 日志处理程序。
|
| category | 字符串 |
哪个日志类别里的消息将被记录。
|
| filter-spec | 字符串 |
定义过滤器的表达式。下面的表达式定义了一个不匹配某个模式的过滤器:
not(match("JBAS.*"))。
|

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.