Commit 7e7a595e authored by suhuiguang's avatar suhuiguang

1.打印日志

parent f372b8ae
...@@ -762,7 +762,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -762,7 +762,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
Token token = remoteSecurityService.getServerToken(); Token token = remoteSecurityService.getServerToken();
systemctlFeign.create(token.getAppKey(), token.getProduct(), token.getToke(), model); systemctlFeign.create(token.getAppKey(), token.getProduct(), token.getToke(), model);
log.info(String.format("调用平台消息服务成功:%s", JSON.toJSONString(model))); log.info(String.format("调用平台消息服务成功:%s", JSON.toJSONString(model)));
} catch (InnerInvokException e) { } catch (Exception e) {
// e.printStackTrace(); // e.printStackTrace();
log.error("告警消息同步平台失败:syncSystemctlMsg,===>>>" + e.getMessage()); log.error("告警消息同步平台失败:syncSystemctlMsg,===>>>" + e.getMessage());
} }
......
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