Made clipboard log more consistent #4712

This commit is contained in:
Jerry (Xinyu Hou) 2015-07-10 12:57:05 -07:00
parent c2b96cfbb7
commit 9800bec857
2 changed files with 3 additions and 4 deletions

View File

@ -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));
}
}

View File

@ -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;