Logger名称 | 指定的级别 | 有效级别 |
root | DEBUG | DEBUG |
X | none | DEBUG |
X.Y | none | DEBUG |
X.Y.Z | none | DEBUG |
Logger名称 | 指定的级别 | 有效级别 |
root | DEBUG | DEBUG |
X | INFO | INFO |
X.Y | none | INFO |
X.Y.Z | none | INFO |
打印方法(p) | Logger级别(q) | ||||
TRACE | DEBUG | INFO | WARN | ERROR | |
trace | YES | NO | NO | NO | NO |
debug | YES | YES | NO | NO | NO |
info | YES | YES | YES | NO | NO |
warn | YES | YES | YES | YES | NO |
error | YES | YES | YES | YES | YES |
Logger名称 | 附加的Appender | 是否可附加标志位 | 输出目标 |
root | A1 | RootLogger作为根节点不支持该属性 | A1 |
x | A-x1, A-x2 | true | A-x1, A-x2 |
x.y | none | true | A1, A-x1, A-x2 |
x.y.z | A-xyz1 | true | A1, A-x1, A-x2, A-xyz1 |
security | A-sec | false | A-sec |
security.access | none | true | A-sec |
欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |