{"id":268459,"date":"2022-05-28T22:58:06","date_gmt":"2022-05-28T14:58:06","guid":{"rendered":"https:\/\/www.idc.net\/help\/268459\/"},"modified":"2022-05-28T22:58:06","modified_gmt":"2022-05-28T14:58:06","slug":"%e4%b8%a5%e9%87%8d%e5%8d%b1%e9%99%a9%e7%ba%a7%e5%88%ab%ef%bc%81apache-%e5%ad%98%e5%9c%a8-log4j-%e8%bf%9c%e7%a8%8b%e4%bb%a3%e7%a0%81%e6%89%a7%e8%a1%8c%e6%bc%8f%e6%b4%9e%ef%bc%8c%e5%bd%b1%e5%93%8d","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/268459\/","title":{"rendered":"\u4e25\u91cd\u5371\u9669\u7ea7\u522b\uff01Apache \u5b58\u5728 Log4j \u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\uff0c\u5f71\u54cd\u6240\u6709 Minecraft \u670d\u52a1\u5668"},"content":{"rendered":"<p style=\"text-align: center\"><a href=\"https:\/\/s3.\/oss\/202112\/10\/5aab930cf4c03e3179d99327afdae397.png\" target=\"_blank\" rel=\"nofollow noopener\"><\/a><\/p>\n<p>12 \u6708 10 \u65e5\u6d88\u606f\uff0c\u8fd1\u671f\u4e00\u4e2a Apache Log4j \u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u7ec6\u8282\u88ab\u516c\u5f00\uff0c\u653b\u51fb\u8005\u5229\u7528\u6f0f\u6d1e\u53ef\u4ee5\u8fdc\u7a0b\u6267\u884c\u4ee3\u7801\u3002<\/p>\n<p>Apache Log4j2 \u662f\u4e00\u6b3e\u4f18\u79c0\u7684 Java \u65e5\u5fd7\u6846\u67b6\u3002\u8be5\u5de5\u5177\u91cd\u5199\u4e86 Log4j \u6846\u67b6\uff0c\u5e76\u4e14\u5f15\u5165\u4e86\u5927\u91cf\u4e30\u5bcc\u7684\u7279\u6027\u3002\u8be5\u65e5\u5fd7\u6846\u67b6\u88ab\u5927\u91cf\u7528\u4e8e\u4e1a\u52a1\u7cfb\u7edf\u5f00\u53d1\uff0c\u7528\u6765\u8bb0\u5f55\u65e5\u5fd7\u4fe1\u606f\u3002\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u5f00\u53d1\u8005\u53ef\u80fd\u4f1a\u5c06\u7528\u6237\u8f93\u5165\u5bfc\u81f4\u7684\u9519\u8bef\u4fe1\u606f\u5199\u5165\u65e5\u5fd7\u4e2d\u3002\u7531\u4e8e Apache Log4j2 \u67d0\u4e9b\u529f\u80fd\u5b58\u5728\u9012\u5f52\u89e3\u6790\u529f\u80fd\uff0c\u653b\u51fb\u8005\u53ef\u76f4\u63a5\u6784\u9020\u6076\u610f\u8bf7\u6c42\uff0c\u89e6\u53d1\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u3002<\/p>\n<p>\u6f0f\u6d1e\u5229\u7528\u65e0\u9700\u7279\u6b8a\u914d\u7f6e\uff0c\u7ecf\u5b89\u5168\u56e2\u961f\u9a8c\u8bc1\uff0cApache Struts2\u3001Apache Solr\u3001Apache Druid\u3001Apache Flink \u7b49\u5747\u53d7\u5f71\u54cd\u3002\u56e0\u8be5\u7ec4\u4ef6\u4f7f\u7528\u6781\u4e3a\u5e7f\u6cdb\uff0c\u63d0\u9192 Apache Log4j2 \u7528\u6237\u5c3d\u5feb\u91c7\u53d6\u5b89\u5168\u63aa\u65bd\u963b\u6b62\u6f0f\u6d1e\u653b\u51fb\u3002<\/p>\n<h3>\u6f0f\u6d1e\u8bc4\u7ea7<\/h3>\n<p>Apache Log4j \u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e \u4e25\u91cd<\/p>\n<h3>\u5f71\u54cd\u7248\u672c<\/h3>\n<p>Apache Log4j 2.x &lt;= 2.14.1<\/p>\n<h3>\u5b89\u5168\u5efa\u8bae<\/h3>\n<p>1\u3001\u5347\u7ea7 Apache Log4j2 \u6240\u6709\u76f8\u5173\u5e94\u7528\u5230\u6700\u65b0\u7684 log4j-2.15.0-rc1 \u7248\u672c\uff0c\u5730\u5740\u67e5\u770b\uff1a<a href=\"https:\/\/github.com\/apache\/logging-log4j2\/releases\/tag\/log4j-2.15.0-rc1\" target=\"_blank\" rel=\"nofollow noopener\">\u70b9\u51fb\u6b64\u5904<\/a>\u3002<\/p>\n<p>2\u3001\u5347\u7ea7\u5df2\u77e5\u53d7\u5f71\u54cd\u7684\u5e94\u7528\u53ca\u7ec4\u4ef6\uff0c\u5982 srping-boot-strater-log4j2 \/ Apache Solr \/ Apache Flink \/ Apache Druid<\/p>\n<p>\u636e\u6089\uff0cApache Log4j2 \u65e5\u5fd7\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u5f71\u54cd\u4e86\u6240\u6709 Minecraft \u670d\u52a1\u5668\u3002<\/p>\n<h3>\u3010\u5f71\u54cd\u7248\u672c\u3011<\/h3>\n<p>Apache log4j2 &gt;= 2.0, &lt;= 2.14.1<\/p>\n<p>Minecraft \u5168\u7248\u672c\u6240\u6709\u7cfb\u5217\u670d\u52a1\u7aef\uff0c\u9664 Mohist 1.18 \u5916\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>12 \u6708 10 \u65e5\u6d88\u606f\uff0c\u8fd1\u671f\u4e00\u4e2a Apache Log4j \u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e\u7ec6\u8282\u88ab\u516c\u5f00\uff0c\u653b\u51fb\u8005\u5229\u7528\u6f0f\u6d1e\u53ef\u4ee5\u8fdc\u7a0b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":268460,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[202645],"tags":[],"class_list":["post-268459","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-202645"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/268459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=268459"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/268459\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media\/268460"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=268459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=268459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=268459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}