当前位置:网站首页>Solution: log4j:warn please initialize the log4j system properly
Solution: log4j:warn please initialize the log4j system properly
2022-07-06 10:55:00 【Programmer seven seven】
background :
springboot+maven+mybatis project , An error is as follows :

resolvent :
stay resources New file in directory log4j.properties, Add the following code :
log4j.rootLogger=WARN, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%nThe relevant screenshots are as follows :


Link to the original text :https://blog.csdn.net/lezeqe/article/details/103805338
边栏推荐
- Csdn-nlp: difficulty level classification of blog posts based on skill tree and weak supervised learning (I)
- Nanny hand-in-hand teaches you to write Gobang in C language
- 评估方法的优缺点
- Mysql 其他主机无法连接本地数据库
- Valentine's Day is coming, are you still worried about eating dog food? Teach you to make a confession wall hand in hand. Express your love to the person you want
- Record the first JDBC
- MySQL23-存储引擎
- Navicat 导出表生成PDM文件
- Transactions have four characteristics?
- API learning of OpenGL (2001) gltexgen
猜你喜欢

CSDN question and answer module Title Recommendation task (I) -- Construction of basic framework

MySQL27-索引优化与查询优化

CSDN question and answer module Title Recommendation task (II) -- effect optimization

MySQL23-存储引擎

Navicat 导出表生成PDM文件

CSDN问答模块标题推荐任务(二) —— 效果优化

La table d'exportation Navicat génère un fichier PDM

CSDN markdown editor

MySQL27-索引優化與查詢優化

Database middleware_ MYCAT summary
随机推荐
Mysql21 user and permission management
【博主推荐】SSM框架的后台管理系统(附源码)
Valentine's Day is coming, are you still worried about eating dog food? Teach you to make a confession wall hand in hand. Express your love to the person you want
[C language] deeply analyze the underlying principle of data storage
Mysql33 multi version concurrency control
Windchill configure remote Oracle database connection
Mysql27 index optimization and query optimization
Case identification based on pytoch pulmonary infection (using RESNET network structure)
windows下同时安装mysql5.5和mysql8.0
MySQL21-用戶與權限管理
解决:log4j:WARN Please initialize the log4j system properly.
csdn-Markdown编辑器
[C language foundation] 04 judgment and circulation
Bytetrack: multi object tracking by associating every detection box paper reading notes ()
【博主推荐】C#MVC列表实现增删改查导入导出曲线功能(附源码)
Time in TCP state_ The role of wait?
windows无法启动MYSQL服务(位于本地计算机)错误1067进程意外终止
Postman Interface Association
Mysql22 logical architecture
CSDN问答模块标题推荐任务(一) —— 基本框架的搭建