summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-03-13 21:45:19 +0000
committerChris Wilson <chris+github@qwirx.com>2008-03-13 21:45:19 +0000
commitd51e5a7ccf93d8a917edc5eb29fea641353ffc94 (patch)
tree11f522271c37bc3be144b329798edabb00a4501b /bin
parent74ef036cef200c892b65615c479f99ed23c2628e (diff)
Use logging framework rather than printf to log when messages are sent
to the control client.
Diffstat (limited to 'bin')
-rw-r--r--bin/bbackupd/BackupDaemon.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp
index e762bbdc..059cda38 100644
--- a/bin/bbackupd/BackupDaemon.cpp
+++ b/bin/bbackupd/BackupDaemon.cpp
@@ -471,12 +471,10 @@ void BackupDaemon::RunHelperThread(void)
{
std::string message = *(mMessageList.begin());
mMessageList.erase(mMessageList.begin());
- printf("Sending '%s' to waiting client... ", message.c_str());
+ BOX_TRACE("Sending '" << message << "' to waiting client");
message += "\n";
rSocket.Write(message.c_str(),
message.length());
-
- printf("done.\n");
}
}
catch (...)