3

springBoot 第三方组件用到的log4j怎么处理?

 2 years ago
source link: https://www.oschina.net/question/2652412_2324681
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

springBoot 第三方组件用到的log4j怎么处理?

sprouting 发布于 昨天 09:59
阅读 466

最近爆发的log4j 漏洞相信大家都知道了,当时检查了下应用,因为springboot使用的默认的Logback日志,不受影响就没去管了,早上看到 druid 发布的更新

up-0b24516da9511c72ddc32fea489b3fbbc7a.png

这才想起第三方也可能用到了log4j,这咋处理?一个个升级第三方组件?这代价也太大了吧。网上查了下,

up-18236a9257be0e2a3afe55eb8a77ff13408.png

只要这样配置一下即可,这就行了?如果第三方不是用 的  ${log4j.version} 岂不是没法替换?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK