<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>日志系统 on Attic.cyn</title><link>https://cyn-blog.pages.dev/tags/%E6%97%A5%E5%BF%97%E7%B3%BB%E7%BB%9F/</link><description>Recent content in 日志系统 on Attic.cyn</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Mon, 20 Jul 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://cyn-blog.pages.dev/tags/%E6%97%A5%E5%BF%97%E7%B3%BB%E7%BB%9F/index.xml" rel="self" type="application/rss+xml"/><item><title>SpringBoot日志整合</title><link>https://cyn-blog.pages.dev/posts/03.framework/12.log/log4j2andslf4j/</link><pubDate>Mon, 20 Jul 2020 00:00:00 +0000</pubDate><guid>https://cyn-blog.pages.dev/posts/03.framework/12.log/log4j2andslf4j/</guid><description>&lt;h2 id="springboot日志整合log4j2--slf4j"&gt;SpringBoot日志整合log4j2 + slf4j&lt;/h2&gt;
&lt;p&gt;良好的日志输出能够在遇到问题的时候很快的定位到出现问题的地方。所以我们首先把log4j集成进去。&lt;/p&gt;
&lt;p&gt;我们使用的是log4j2，在使用方面与log4j基本上没什么区别，比较大的区别是&lt;strong&gt;log4j2不再支持properties配置文件，支持xml、json格式的文件.&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>