当前位置:网站首页>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 question and answer tag skill tree (I) -- Construction of basic framework
- [paper reading notes] - cryptographic analysis of short RSA secret exponents
- 解决扫描不到xml、yml、properties文件配置
- Mysql33 multi version concurrency control
- [unity] simulate jelly effect (with collision) -- tutorial on using jellysprites plug-in
- csdn-Markdown编辑器
- Postman Interface Association
- Baidu Encyclopedia data crawling and content classification and recognition
- MySQL23-存儲引擎
- Texttext data enhancement method data argument
猜你喜欢

【博主推荐】asp.net WebService 后台数据API JSON(附源码)

Nanny hand-in-hand teaches you to write Gobang in C language

Mysql21 user and permission management

CSDN问答标签技能树(一) —— 基本框架的构建

Other new features of mysql18-mysql8

Postman environment variable settings

Record the first JDBC

MySQL27-索引优化与查询优化

MySQL34-其他数据库日志

CSDN blog summary (I) -- a simple first edition implementation
随机推荐
MySQL20-MySQL的数据目录
++Implementation of I and i++
La table d'exportation Navicat génère un fichier PDM
[recommended by bloggers] background management system of SSM framework (with source code)
First blog
Record the first JDBC
Global and Chinese market of thermal mixers 2022-2028: Research Report on technology, participants, trends, market size and share
Baidu Encyclopedia data crawling and content classification and recognition
【博主推荐】C#生成好看的二维码(附源码)
Generate PDM file from Navicat export table
[paper reading notes] - cryptographic analysis of short RSA secret exponents
虚拟机Ping通主机,主机Ping不通虚拟机
虚拟机Ping通主机,主机Ping不通虚拟机
Use JUnit unit test & transaction usage
导入 SQL 时出现 Invalid default value for ‘create_time‘ 报错解决方法
Water and rain condition monitoring reservoir water and rain condition online monitoring
Kubesphere - deploy the actual combat with the deployment file (3)
[BMZCTF-pwn] 11-pwn111111
@controller,@service,@repository,@component区别
Mysql25 index creation and design principles