From 4a56aca3f68e04b14ac667b3a35aaa5015cc1c5e Mon Sep 17 00:00:00 2001 From: PeterAlbus Date: Tue, 28 Dec 2021 11:18:08 +0800 Subject: [PATCH] delete log output --- src/main/java/com/peteralbus/service/ActivityService.java | 3 --- src/main/resources/log4j.properties | 4 ++-- src/main/resources/mybatis-config.xml | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/peteralbus/service/ActivityService.java b/src/main/java/com/peteralbus/service/ActivityService.java index 0ed950b..f96df57 100644 --- a/src/main/java/com/peteralbus/service/ActivityService.java +++ b/src/main/java/com/peteralbus/service/ActivityService.java @@ -3,14 +3,11 @@ package com.peteralbus.service; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.peteralbus.dao.*; import com.peteralbus.entity.*; -import com.sun.org.apache.xpath.internal.operations.Bool; import org.apache.shiro.SecurityUtils; import org.apache.shiro.subject.Subject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; -import org.springframework.transaction.annotation.Transactional; -import java.sql.Wrapper; import java.util.List; import java.util.Map; import java.util.TreeMap; diff --git a/src/main/resources/log4j.properties b/src/main/resources/log4j.properties index 2e30533..1442a18 100644 --- a/src/main/resources/log4j.properties +++ b/src/main/resources/log4j.properties @@ -1,7 +1,7 @@ # Global logging configuration -log4j.rootLogger=DEBUG, stdout +log4j.rootLogger=WARN, stdout # MyBatis logging configuration... -log4j.logger.com.ssm=DEBUG +log4j.logger.com.ssm=WARN # Console output... log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout diff --git a/src/main/resources/mybatis-config.xml b/src/main/resources/mybatis-config.xml index 24cb67e..5cfc780 100644 --- a/src/main/resources/mybatis-config.xml +++ b/src/main/resources/mybatis-config.xml @@ -4,7 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-config.dtd"> - + @@ -13,4 +13,4 @@ - \ No newline at end of file +