diff --git a/pig-common/pig-common-log/src/main/resources/META-INF/spring.factories b/pig-common/pig-common-log/src/main/resources/META-INF/spring.factories new file mode 100644 index 00000000..7f7301ba --- /dev/null +++ b/pig-common/pig-common-log/src/main/resources/META-INF/spring.factories @@ -0,0 +1,3 @@ +# https://github.com/spring-projects/spring-boot/issues/31252 +org.springframework.boot.env.EnvironmentPostProcessor=\ + com.pig4cloud.pig.common.log.init.ApplicationLoggerInitializer diff --git a/pig-common/pig-common-log/src/main/resources/META-INF/spring/org.springframework.boot.env.EnvironmentPostProcessor.imports b/pig-common/pig-common-log/src/main/resources/META-INF/spring/org.springframework.boot.env.EnvironmentPostProcessor.imports deleted file mode 100644 index 5e85ea8a..00000000 --- a/pig-common/pig-common-log/src/main/resources/META-INF/spring/org.springframework.boot.env.EnvironmentPostProcessor.imports +++ /dev/null @@ -1 +0,0 @@ -com.pig4cloud.pig.common.log.init.ApplicationLoggerInitializer