spdlog::warn("evmgr {} failed to find the connecting/disconnecting module with id {} in config. please check if it was terminated correctly",devSn,selfId);
spdlog::warn("{} failed to find the connecting/disconnecting module with id {} in config. please check if it was terminated correctly",devSn,selfId);
spdlog::error("evslicer {} failed to receive configration message {}",devSn,addr);
spdlog::error("{} failed to receive configration message {}",devSn,addr);
}
}
init();
init();
...
@@ -955,7 +962,7 @@ public:
...
@@ -955,7 +962,7 @@ public:
while(true){
while(true){
autobody=z_recv_multiple(pDealer,false);
autobody=z_recv_multiple(pDealer,false);
if(body.size()==0){
if(body.size()==0){
spdlog::error("evslicer {} failed to receive multiple edge msg: {}",selfId,zmq_strerror(zmq_errno()));
spdlog::error("{} failed to receive multiple edge msg: {}",selfId,zmq_strerror(zmq_errno()));
}
}
else{
else{
// full proto msg received.
// full proto msg received.
...
@@ -971,7 +978,7 @@ public:
...
@@ -971,7 +978,7 @@ public:
{
{
autobody=z_recv_multiple(pDaemon,false);
autobody=z_recv_multiple(pDaemon,false);
if(body.size()==0){
if(body.size()==0){
spdlog::error("evslicer {} failed to receive multiple cloud msg: {}",selfId,zmq_strerror(zmq_errno()));
spdlog::error("{} failed to receive multiple cloud msg: {}",selfId,zmq_strerror(zmq_errno()));
}
}
else{
else{
// full proto msg received.
// full proto msg received.
...
@@ -1021,7 +1028,7 @@ public:
...
@@ -1021,7 +1028,7 @@ public:
longoffsetE=0;
longoffsetE=0;
if(tss<this->bootTime){
if(tss<this->bootTime){
spdlog::warn("evslicer {} should we discard old msg? {} < bootTime {}",selfId,evt,this->bootTime);
spdlog::warn("{} should we discard old msg? {} < bootTime {}",selfId,evt,this->bootTime);
}
}
longfirst=0,end=0;
longfirst=0,end=0;
...
@@ -1032,11 +1039,11 @@ public:
...
@@ -1032,11 +1039,11 @@ public:
}
}
if(tse<first){
if(tse<first){
spdlog::info("evslicer {} thEventHandler event range ({}, {}) is not in range ({}, {}).",selfId,tss,tse,first,end);
spdlog::info("{} thEventHandler event range ({}, {}) is not in range ({}, {}).",selfId,tss,tse,first,end);
continue;
continue;
}
}
elseif(first==0||tse>end){
elseif(first==0||tse>end){
spdlog::info("evslicer {} thEventHandler event range ({}, {}) is not in range ({}, {}), resched to run in {}s.",selfId,tss,tse,first,end,this->seconds+5);
spdlog::info("{} thEventHandler event range ({}, {}) is not in range ({}, {}), resched to run in {}s.",selfId,tss,tse,first,end,this->seconds+5);