mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 13:37:11 +08:00
Added messages to DEBUG log
This commit is contained in:
@@ -288,6 +288,11 @@ void streamRecognitionThread(void* arg)
|
|||||||
free(out);
|
free(out);
|
||||||
|
|
||||||
// Push the results to the Beanstalk queue
|
// Push the results to the Beanstalk queue
|
||||||
|
for (int j = 0; j < results.size(); j++)
|
||||||
|
{
|
||||||
|
LOG4CPLUS_DEBUG(logger, "Writing plate " << results[j].bestPlate.characters << " (" << uuid << ") to queue.");
|
||||||
|
}
|
||||||
|
|
||||||
writeToQueue(response);
|
writeToQueue(response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -319,7 +324,7 @@ bool writeToQueue(std::string jsonResult)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG4CPLUS_INFO(logger, "put job id: " << id );
|
LOG4CPLUS_DEBUG(logger, "put job id: " << id );
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (const std::runtime_error& error)
|
catch (const std::runtime_error& error)
|
||||||
|
Reference in New Issue
Block a user