소스 검색

支付组件

zouxuan 3 달 전
부모
커밋
1b715675c5
2개의 변경된 파일3개의 추가작업 그리고 11개의 파일을 삭제
  1. 0 6
      mec-application/pom.xml
  2. 3 5
      mec-application/src/main/java/com/ym/mec/AppServerApplication.java

+ 0 - 6
mec-application/pom.xml

@@ -57,12 +57,6 @@
         <dependency>
             <groupId>com.ym</groupId>
             <artifactId>mec-biz</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.springframework.boot</groupId>
-                    <artifactId>spring-boot-starter-log4j2</artifactId>
-                </exclusion>
-            </exclusions>
         </dependency>
 
         <dependency>

+ 3 - 5
mec-application/src/main/java/com/ym/mec/AppServerApplication.java

@@ -5,8 +5,6 @@ import com.ym.mec.config.AppBeanNameGenerator;
 import org.mybatis.spring.annotation.MapperScan;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.boot.builder.SpringApplicationBuilder;
-import org.springframework.boot.logging.LogLevel;
-import org.springframework.boot.logging.LoggingSystem;
 import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
 import org.springframework.cloud.openfeign.EnableFeignClients;
 import org.springframework.context.annotation.ComponentScan;
@@ -24,12 +22,12 @@ public class AppServerApplication {
         new SpringApplicationBuilder(AppServerApplication.class)
                 .beanNameGenerator(new AppBeanNameGenerator())
                 .run(args);
-        configureGlobalLogger();
+//        configureGlobalLogger();
     }
-
+/*
     private static void configureGlobalLogger() {
         LoggingSystem loggingSystem = LoggingSystem.get(ClassLoader.getSystemClassLoader());
         // 设置业务日志记录器的日志级别为INFO
         loggingSystem.setLogLevel("businessLogger", LogLevel.INFO);
-    }
+    }*/
 }