deason 4 lat temu
rodzic
commit
b52b4f9a5a

+ 1 - 2
examcloud-core-print-starter/src/main/java/cn/com/qmth/examcloud/core/print/PrintApplication.java

@@ -33,8 +33,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
 public class PrintApplication extends SpringBootServletInitializer {
 
     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");