提交 7106ba1b 编写于 作者: Y yong.you

add the log in dumpanlyzer

上级 bb0ff81a
......@@ -2,6 +2,7 @@ package com.dianping.cat.consumer.dump;
import java.io.IOException;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
......@@ -56,7 +57,9 @@ public class DumpAnalyzer extends AbstractMessageAnalyzer<Object> implements Ini
@Override
public void run() {
try {
m_logger.info("Dump analyer starting archive!" + new Date(m_startTime));
m_bucketManager.archive(m_startTime);
m_logger.info("Dump analyer end archive!");
} catch (Exception e) {
Cat.logError(e);
}
......
......@@ -21,7 +21,7 @@ import com.dianping.cat.message.spi.MessageTree;
import com.dianping.cat.message.spi.codec.EscapingBufferWriter;
import com.dianping.cat.message.spi.codec.PlainTextMessageCodec;
import com.dianping.cat.message.spi.internal.DefaultMessageTree;
@RunWith(JUnit4.class)
@Ignore
public class LocalMessageBucketTest extends ComponentTestCase {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册