当前位置:网站首页>Levelfilter introduction
Levelfilter introduction
2022-07-29 07:24:00 【qq_ twenty-five million seventy-three thousand two hundred and 】
from :
The following is about logback in LevelFilter Introduction
LevelFilter: Grade filter Filter by log level When the log level is equal to the configuration level The filter will be based on onMath and onMismatch Receive or reject logs LevelFilter attribute
<level>: Set filter level <onMatch>: It is used to configure the operations that meet the filtering conditions <onMismatch>: Used to configure operations that do not meet the filter criteria
example
// Configure the filter's log level to INFO, all INFO Level log to appender Handle , Not INFO Level of logging , Be filtered out
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<level>INFO</level>
<onMatch>ACCEPT</onMatch>
<onMismatch>DENY</onMismatch>
</filter>
<encoder>
<pattern>
%-4relative [%thread] %-5level %logger{30} - %msg%n
</pattern>
</encoder>
</appender>边栏推荐
- MySQL----多表查询
- Scala 高阶(十):Scala中的异常处理
- 7-2 计算正五边形的面积和周长 (25分)
- JS day 4 process control (if statement and switch statement)
- SpingBoot整合Quartz框架实现动态定时任务(支持实时增删改查任务)
- Cvpr2021 | multi view stereo matching based on self supervised learning (cvpr2021)
- 女研究生做“思维导图”与男友吵架!网友:吵架届的“内卷之王”....
- vue-router路由缓存
- Remote invocation of microservices
- Vite3.0都发布了,你还能卷得动吗(新特性一览)
猜你喜欢

After 4 years of development and 13K, if you want to change to automated testing, can your salary still rise···

Vmware16 create virtual machine: cannot create a new virtual machine, do not have permission to perform this operation

亚马逊云助手小程序来啦!

Problems encountered in vmware16 installing virtual machines

Vscode remote debugging PHP solution through remotessh and Xdebug
![[OpenGL] use of shaders](/img/73/1322afec8add6462ca4b82cb8112d1.png)
[OpenGL] use of shaders

Kubernetes (V) -- deploy kubernetes dashboard

JS day 4 process control (if statement and switch statement)

1-后台项目搭建

JS 鸡生蛋与蛋生鸡问题,Object与Function究竟谁出现的更早?Function算不算Function的实例?
随机推荐
Spark Learning Notes (VII) -- spark core core programming - RDD serialization / dependency / persistence / partition / accumulator / broadcast variables
Paper reading (62):pointer networks
用户列表 圆形头像并跟随小板块
Scala 高阶(十):Scala中的异常处理
Interface test actual project 03: execute test cases
WPF nested layout case
MySQL - multi table query
MySQL----多表查询
QT专题:基础部件(按钮类,布局类,输出类,输入类,容器类)
Gin Middleware
在线问题反馈模块实战(十七):实现excel模板在线下载功能
Gin parameter validation
Use vscode to configure Mysql to realize connection, query, and other functions
能在SQL 语句中 指定 内存参数吗?
WPF interface layout must know basis
CDC source can quit after reading MySQL snapshot split
logback filter过滤器简介说明
Vscode remote debugging PHP solution through remotessh and Xdebug
Nodejs安装教程
ERROR 1045 (28000) Access denied for user ‘root‘@‘localhost‘解决方法