Commit 2be7847b authored by Yuelong Yu's avatar Yuelong Yu
Browse files

added additioanl info and bug fix

- bug fix on OUTPUT3
- added log info for timeout in ReceiveData
parent 549b58c0
Pipeline #11174 passed with stage
in 1 minute and 10 seconds
......@@ -99,7 +99,7 @@ namespace FSDetCoreNS
void OUTPUT3(string strMsg)
{
if(DEBUG >= USER_LOG_LEVEL)
if(INFO >= USER_LOG_LEVEL)
{
std::lock_guard<std::mutex> mtx(log_mutex);
auto time_now = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
......
......@@ -299,6 +299,7 @@ namespace FSDetCoreNS
else {
nTry++;
if(nTry > nMaxTries) {
LOG_STREAM(__FUNCTION__, INFO, "retry exceeds:"+ to_string(nMaxTries) + "- received: " + to_string(nTotalReceived));
return -1;
}
}
......
Supports Markdown
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