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");