Skip to content

Commit

Permalink
Rename apollo-log4j2 as apollo-plugin-log4j2
Browse files Browse the repository at this point in the history
  • Loading branch information
nisiyong committed Dec 15, 2022
1 parent 68ca735 commit 0985e04
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ There are several steps that need to do:
<artifactId>log4j-core</artifactId>
</dependency>
```
2. Add `apollo-log4j2` dependency to your classpath
2. Add `apollo-plugin-log4j2` dependency to your classpath
```xml
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-log4j2</artifactId>
<artifactId>apollo-plugin-log4j2</artifactId>
</dependency>
```
3. Create a new namespace `log4j2.xml` (namespace format must be XML) in your apollo application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>apollo-log4j2</artifactId>
<name>Apollo Log4j2</name>
<artifactId>apollo-plugin-log4j2</artifactId>
<name>Apollo Plugin Log4j2</name>
<packaging>jar</packaging>

<dependencies>
Expand All @@ -41,4 +41,4 @@
<optional>true</optional>
</dependency>
</dependencies>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
*/

package com.ctrip.framework.apollo.log4j2;
package com.ctrip.framework.apollo.plugin.log4j2;

import com.ctrip.framework.apollo.ConfigFile;
import com.ctrip.framework.apollo.ConfigService;
Expand Down
4 changes: 2 additions & 2 deletions apollo-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<packaging>pom</packaging>

<modules>
<module>apollo-log4j2</module>
<module>apollo-plugin-log4j2</module>
</modules>

</project>
</project>

0 comments on commit 0985e04

Please sign in to comment.