deason 4 years ago
parent
commit
3723e3f9c1

+ 1 - 2
examcloud-core-basic-starter/src/main/java/cn/com/qmth/examcloud/core/basic/starter/CoreBasicApp.java

@@ -35,8 +35,7 @@ import org.springframework.web.multipart.commons.CommonsMultipartResolver;
 public class CoreBasicApp {
 
     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");