Commit f59a61a3 authored by Quxl's avatar Quxl

x

parent e5e45042
...@@ -46,7 +46,7 @@ public class AliyunLogProducer { ...@@ -46,7 +46,7 @@ public class AliyunLogProducer {
List<LogItem> logItems = new ArrayList<LogItem>(); List<LogItem> logItems = new ArrayList<LogItem>();
LogItem logItem = new LogItem(); LogItem logItem = new LogItem();
logItem.PushBack("id", String.valueOf(System.currentTimeMillis())); logItem.PushBack("id", String.valueOf(System.currentTimeMillis()));
logItem.PushBack("logText", logText); logItem.PushBack("AST_SHOP_ERROR_LOG", logText);
logItems.add(logItem); logItems.add(logItem);
ListenableFuture<Result> future = producer.send(project, logStore, logItems); ListenableFuture<Result> future = producer.send(project, logStore, logItems);
Futures.addCallback(future, new SampleFutureCallback(project, logStore, logText), EXECUTOR_SERVICE); Futures.addCallback(future, new SampleFutureCallback(project, logStore, logText), EXECUTOR_SERVICE);
......
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