MrXiaoM / Overflow

替换 mirai 实现为 Onebot 以进行无缝迁移

Home Page:https://mirai.mrxiaom.top

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于日志输出等级配置

lesser0 opened this issue · comments

commented

config/Console/Logger.yml配置如下时:

# 默认日志输出等级
# 可选值: ALL, VERBOSE, DEBUG, INFO, WARNING, ERROR, NONE
defaultPriority: INFO
# 特定日志记录器输出等级
loggers: 
  example.logger: NONE
  console.debug: NONE
  Bot: WARNING
  org.eclipse.aether.internal: INFO
  org.apache.http.wire: INFO
# 是否启动外部日志框架桥接
binding: 
  slf4j: true

logs/onebot/下的日志仍会记录V/Onebot,而其中D/Onebot包括了全部收发消息
bots/【qq号】/logs下的日志仍会记录V/Bot,包括了全部收发消息

不知这两处日志的输出等级是否能配置?

不能配置,这两地方的日志是调试日志,不允许关闭