代码拉取完成,页面将自动刷新
logging:
template: "%timestamp%%level%%label%%module%%message%%metadata%"
formats:
timestamp: "YYYY.MM.DD-HH:mm:ss.SSS ZZ"
label: auto-logging
json: false
pad: true
align: false
attributeformat:
level: " %attribute%"
label: " [%attribute%]"
module: " [%attribute%] "
metadata: " (%attribute%)"
colorize:
all: true
colors:
info: green
error: red
warn: yellow
debug: grey
targets:
console:
target: console
enabled: true
options:
level: info
file:
target: file
enabled: true
options:
level: warn
filename: "logging.log"
rotatingInfo:
target: daily-rotate-file
enabled: true
options:
level: info
datePattern: "YYYY-MM-DD"
zippedArchive: true
filename: "logs/%DATE%/info.log"
options:
flags: a
mode: 0666
rotatingDebug:
target: daily-rotate-file
enabled: true
options:
level: debug
datePattern: "YYYY-MM-DD"
zippedArchive: true
filename: "logs/%DATE%/debug.log"
options:
flags: a
mode: 0666
rotatingWarn:
target: daily-rotate-file
enabled: true
options:
level: warn
datePattern: "YYYY-MM-DD"
zippedArchive: true
filename: "logs/%DATE%/warn.log"
options:
flags: a
mode: 0666
rotatingError:
target: daily-rotate-file
enabled: true
options:
level: error
datePattern: "YYYY-MM-DD"
zippedArchive: true
filename: "logs/%DATE%/error.log"
options:
flags: a
mode: 0666
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。