当前位置:网站首页>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%n
The relevant screenshots are as follows :
Link to the original text :https://blog.csdn.net/lezeqe/article/details/103805338
边栏推荐
猜你喜欢
MySQL32-锁
Database middleware_ MYCAT summary
[Li Kou 387] the first unique character in the string
windows无法启动MYSQL服务(位于本地计算机)错误1067进程意外终止
API learning of OpenGL (2002) smooth flat of glsl
Adaptive Bezier curve network for real-time end-to-end text recognition
CSDN问答模块标题推荐任务(一) —— 基本框架的搭建
Mysql21 - gestion des utilisateurs et des droits
MySQL26-性能分析工具的使用
[unity] simulate jelly effect (with collision) -- tutorial on using jellysprites plug-in
随机推荐
【博主推荐】asp.net WebService 后台数据API JSON(附源码)
第一篇博客
该不会还有人不懂用C语言写扫雷游戏吧
Global and Chinese markets of static transfer switches (STS) 2022-2028: Research Report on technology, participants, trends, market size and share
MySQL33-多版本并发控制
Navicat 導出錶生成PDM文件
[C language foundation] 04 judgment and circulation
[untitled]
MySQL21-用户与权限管理
C language advanced pointer Full Version (array pointer, pointer array discrimination, function pointer)
虚拟机Ping通主机,主机Ping不通虚拟机
1. Mx6u learning notes (VII): bare metal development (4) -- master frequency and clock configuration
[recommended by bloggers] background management system of SSM framework (with source code)
CSDN question and answer module Title Recommendation task (I) -- Construction of basic framework
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
Discriminant model: a discriminant model creation framework log linear model
CSDN-NLP:基于技能树和弱监督学习的博文难度等级分类 (一)
MySQL23-存储引擎
Anaconda3 安装cv2
Navicat 导出表生成PDM文件