File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 39
39
Log4j 2
40
40
</li >
41
41
<li >
42
- Log4j (deprecated since 3.5.9)
42
+ Log4j ( 3.5.9 起废弃)
43
43
</li >
44
44
<li >
45
45
JDK logging
@@ -97,7 +97,7 @@ org.apache.ibatis.logging.LogFactory.useStdOutLogging();
97
97
</p >
98
98
<p >对于 web 应用或企业级应用,则需要将 <code >logback-classic.jar</code >, <code >logback-core.jar</code > and <code >slf4j-api.jar</code > 添加到 <code >WEB-INF/lib</code > 目录下;对于独立应用,可以将它添加到JVM 的 <code >-classpath</code > 启动参数中。
99
99
</p >
100
- <p >If you use the maven, you can download jar files by adding following settings on your <code >pom.xml</code >.
100
+ <p >如果你使用 maven, 你可以通过在 <code >pom.xml</code > 中添加下面的依赖来下载 jar 文件。
101
101
</p >
102
102
<source ><![CDATA[
103
103
<dependency>
@@ -213,7 +213,7 @@ public interface BlogMapper {
213
213
214
214
<p ></p >
215
215
<h4 >
216
- Configuration example for Log4j 2
216
+ Log4j 2 配置示例
217
217
</h4 >
218
218
219
219
<p ><code >pom.xml</code ></p >
@@ -250,7 +250,7 @@ public interface BlogMapper {
250
250
251
251
<p ></p >
252
252
<h4 >
253
- Configuration example for Log4j
253
+ Log4j 配置示例
254
254
</h4 >
255
255
256
256
<p ><code >pom.xml</code ></p >
@@ -277,7 +277,7 @@ log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n
277
277
278
278
<p ></p >
279
279
<h4 >
280
- Configuration example for JDK logging
280
+ JDK logging 配置示例
281
281
</h4 >
282
282
283
283
<p ><code >logging.properties</code ></p >
You can’t perform that action at this time.
0 commit comments