Added log statement for queue write failure

This commit is contained in:
Matt Hill
2014-06-08 15:00:30 -04:00
parent 70c05e5eb9
commit 01354189ae

View File

@@ -277,7 +277,10 @@ bool writeToQueue(std::string jsonResult)
int id = client.put(jsonResult);
if (id <= 0)
{
LOG4CPLUS_ERROR(logger, "Failed to write data to queue");
return false;
}
LOG4CPLUS_INFO(logger, "put job id: " << id );