deason 4 년 전
부모
커밋
2778c9aede
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/main/java/cn/com/qmth/examcloud/app/ApiApplication.java

+ 1 - 2
src/main/java/cn/com/qmth/examcloud/app/ApiApplication.java

@@ -28,8 +28,7 @@ import org.springframework.scheduling.annotation.EnableAsync;
 public class ApiApplication {
 
     static {
-        String runtimeLevel = System.getProperty("log.commonLevel");
-        if (null == runtimeLevel) {
+        if (System.getProperty("log.commonLevel") == null) {
             System.setProperty("log.commonLevel", "INFO");
         }
         System.setProperty("hibernate.dialect.storage_engine", "innodb");