From 0562cf0f24794e58c76df2839ccce37898b7aee1 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 3 Jul 2014 13:24:03 -0400 Subject: [PATCH] Added messages to DEBUG log --- src/daemon.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/daemon.cpp b/src/daemon.cpp index 36cb4a7..6b5abf9 100644 --- a/src/daemon.cpp +++ b/src/daemon.cpp @@ -288,6 +288,11 @@ void streamRecognitionThread(void* arg) free(out); // 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); } } @@ -319,7 +324,7 @@ bool writeToQueue(std::string jsonResult) return false; } - LOG4CPLUS_INFO(logger, "put job id: " << id ); + LOG4CPLUS_DEBUG(logger, "put job id: " << id ); } catch (const std::runtime_error& error)