diff --git a/apollo-plugin/apollo-log4j2/README.md b/apollo-plugin/apollo-plugin-log4j2/README.md similarity index 90% rename from apollo-plugin/apollo-log4j2/README.md rename to apollo-plugin/apollo-plugin-log4j2/README.md index 6f97e25b..c2337226 100644 --- a/apollo-plugin/apollo-log4j2/README.md +++ b/apollo-plugin/apollo-plugin-log4j2/README.md @@ -18,11 +18,11 @@ There are several steps that need to do: log4j-core ``` -2. Add `apollo-log4j2` dependency to your classpath +2. Add `apollo-plugin-log4j2` dependency to your classpath ```xml com.ctrip.framework.apollo - apollo-log4j2 + apollo-plugin-log4j2 ``` 3. Create a new namespace `log4j2.xml` (namespace format must be XML) in your apollo application diff --git a/apollo-plugin/apollo-log4j2/pom.xml b/apollo-plugin/apollo-plugin-log4j2/pom.xml similarity index 94% rename from apollo-plugin/apollo-log4j2/pom.xml rename to apollo-plugin/apollo-plugin-log4j2/pom.xml index 80428cbf..62469ccf 100644 --- a/apollo-plugin/apollo-log4j2/pom.xml +++ b/apollo-plugin/apollo-plugin-log4j2/pom.xml @@ -25,8 +25,8 @@ ../pom.xml 4.0.0 - apollo-log4j2 - Apollo Log4j2 + apollo-plugin-log4j2 + Apollo Plugin Log4j2 jar @@ -41,4 +41,4 @@ true - \ No newline at end of file + diff --git a/apollo-plugin/apollo-log4j2/src/main/java/com/ctrip/framework/apollo/log4j2/ApolloLog4j2ConfigurationFactory.java b/apollo-plugin/apollo-plugin-log4j2/src/main/java/com/ctrip/framework/apollo/plugin/log4j2/ApolloLog4j2ConfigurationFactory.java similarity index 98% rename from apollo-plugin/apollo-log4j2/src/main/java/com/ctrip/framework/apollo/log4j2/ApolloLog4j2ConfigurationFactory.java rename to apollo-plugin/apollo-plugin-log4j2/src/main/java/com/ctrip/framework/apollo/plugin/log4j2/ApolloLog4j2ConfigurationFactory.java index 54a3711c..e91ff845 100644 --- a/apollo-plugin/apollo-log4j2/src/main/java/com/ctrip/framework/apollo/log4j2/ApolloLog4j2ConfigurationFactory.java +++ b/apollo-plugin/apollo-plugin-log4j2/src/main/java/com/ctrip/framework/apollo/plugin/log4j2/ApolloLog4j2ConfigurationFactory.java @@ -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; diff --git a/apollo-plugin/pom.xml b/apollo-plugin/pom.xml index a902fcce..3a47b738 100644 --- a/apollo-plugin/pom.xml +++ b/apollo-plugin/pom.xml @@ -30,7 +30,7 @@ pom - apollo-log4j2 + apollo-plugin-log4j2 - \ No newline at end of file +