From 9800bec8577636e889014c8b7af0508f9fb2c9b7 Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Fri, 10 Jul 2015 12:57:05 -0700 Subject: [PATCH] Made clipboard log more consistent #4712 --- src/lib/client/ServerProxy.cpp | 4 ++-- src/lib/server/ClientProxy1_6.cpp | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib/client/ServerProxy.cpp b/src/lib/client/ServerProxy.cpp index 0722bdfd..ac50815b 100644 --- a/src/lib/client/ServerProxy.cpp +++ b/src/lib/client/ServerProxy.cpp @@ -565,11 +565,11 @@ ServerProxy::setClipboard() clipboard.unmarshall(dataCached, 0); m_client->setClipboard(id, &clipboard); - LOG((CLOG_DEBUG "clipboard transmission complete")); + LOG((CLOG_INFO "clipboard was updated")); } else if (r == kStart) { size_t size = ClipboardChunk::getExpectedSize(); - LOG((CLOG_DEBUG "receiving %u bytes of clipboard data", size)); + LOG((CLOG_DEBUG "receiving clipboard %d size=%d", id, size)); } } diff --git a/src/lib/server/ClientProxy1_6.cpp b/src/lib/server/ClientProxy1_6.cpp index 9df8808d..60d4f0c0 100644 --- a/src/lib/server/ClientProxy1_6.cpp +++ b/src/lib/server/ClientProxy1_6.cpp @@ -91,11 +91,10 @@ ClientProxy1_6::recvClipboard() info->m_sequenceNumber = seq; m_events->addEvent(Event(m_events->forClipboard().clipboardChanged(), getEventTarget(), info)); - LOG((CLOG_DEBUG "clipboard transmission complete")); } else if (r == kStart) { size_t size = ClipboardChunk::getExpectedSize(); - LOG((CLOG_DEBUG "receiving %u bytes of clipboard data", size)); + LOG((CLOG_DEBUG "receiving clipboard %d size=%d", id, size)); } return true;