Commit c555a673 authored by 赵啸非's avatar 赵啸非

添加设备上线和下线的业务日志记录

parent 21fa1a57
......@@ -113,15 +113,15 @@ public class CustomerKeyExpirationListener implements MessageListener {
errorLogPdu.setTraceID(IdUtil.objectId());
errorLogPdu.setAppName(productEntity.getProductCode());
errorLogPdu.setMessage(deviceEntity.getDeviceName()+"设备下线!");
errorLogPdu.setPlatform("android");
errorLogPdu.setPlatform("webos");
errorLogPdu.setCulprit("");
errorLogPdu.setTags("");
errorLogPdu.setLevel("INFO");
errorLogPdu.setEnvironment("");
errorLogPdu.setReleaseVersion("");
errorLogPdu.setFingerprint("");
errorLogPdu.setFingerprint(LogTypeEnum.上报事件.name());
errorLogPdu.setThreadNo(Thread.currentThread().toString());
errorLogPdu.setErrorStack("");
errorLogPdu.setErrorStack(Thread.currentThread()+deviceEntity.getDeviceName()+"设备下线!");
errorLogPdu.setContext("");
errorLogPdu.setExtra("");
errorLogPdu.setLogTime(new Date());
......
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