Commit 27fa3740 authored by yanzg's avatar yanzg

修复异常提醒,从而正确的跟踪异常信息

parent 0773f52e
......@@ -4,7 +4,6 @@ import com.yanzuoguang.util.cache.MemoryCache;
import com.yanzuoguang.util.helper.DateHelper;
import com.yanzuoguang.util.helper.StringHelper;
import com.yanzuoguang.util.thread.ThreadNext;
import com.yanzuoguang.util.vo.CloudConfig;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;
......@@ -22,7 +21,6 @@ public class LogCountTime implements ThreadNext.Next, InitializingBean {
private static final String URL_PARA_START = "?";
private final LogConfig logConfig;
private final CloudConfig cloudConfig;
private final LogBase logBase;
/**
* 今日缓存,超过时间会自动清空
......@@ -33,9 +31,8 @@ public class LogCountTime implements ThreadNext.Next, InitializingBean {
*/
private String today;
public LogCountTime(LogConfig logConfig, CloudConfig cloudConfig, LogBase logBase) {
public LogCountTime(LogConfig logConfig, LogBase logBase) {
this.logConfig = logConfig;
this.cloudConfig = cloudConfig;
this.logBase = logBase;
}
......
......@@ -21,6 +21,7 @@ public class LogUrlCountVo {
public LogUrlCountVo(String url, int level) {
this.url = url;
this.level = level;
}
public void addFinish(long time, boolean isLog) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment