File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
src/main/java/com/ctrip/framework/apollo/plugin/log4j2 Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ There are several steps that need to do:
18
18
<artifactId >log4j-core</artifactId >
19
19
</dependency >
20
20
```
21
- 2 . Add ` apollo-log4j2 ` dependency to your classpath
21
+ 2 . Add ` apollo-plugin- log4j2 ` dependency to your classpath
22
22
``` xml
23
23
<dependency >
24
24
<groupId >com.ctrip.framework.apollo</groupId >
25
- <artifactId >apollo-log4j2</artifactId >
25
+ <artifactId >apollo-plugin- log4j2</artifactId >
26
26
</dependency >
27
27
```
28
28
3 . Create a new namespace ` log4j2.xml ` (namespace format must be XML) in your apollo application
Original file line number Diff line number Diff line change 25
25
<relativePath >../pom.xml</relativePath >
26
26
</parent >
27
27
<modelVersion >4.0.0</modelVersion >
28
- <artifactId >apollo-log4j2</artifactId >
29
- <name >Apollo Log4j2</name >
28
+ <artifactId >apollo-plugin- log4j2</artifactId >
29
+ <name >Apollo Plugin Log4j2</name >
30
30
<packaging >jar</packaging >
31
31
32
32
<dependencies >
41
41
<optional >true</optional >
42
42
</dependency >
43
43
</dependencies >
44
- </project >
44
+ </project >
Original file line number Diff line number Diff line change 15
15
*
16
16
*/
17
17
18
- package com .ctrip .framework .apollo .log4j2 ;
18
+ package com .ctrip .framework .apollo .plugin . log4j2 ;
19
19
20
20
import com .ctrip .framework .apollo .ConfigFile ;
21
21
import com .ctrip .framework .apollo .ConfigService ;
Original file line number Diff line number Diff line change 30
30
<packaging >pom</packaging >
31
31
32
32
<modules >
33
- <module >apollo-log4j2</module >
33
+ <module >apollo-plugin- log4j2</module >
34
34
</modules >
35
35
36
- </project >
36
+ </project >
You can’t perform that action at this time.
0 commit comments