deason 4 年之前
父节点
当前提交
f735ada5b9

+ 1 - 2
examcloud-exchange-starter/src/main/java/cn/com/qmth/examcloud/exchange/ExchangeApp.java

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