extra logging

This commit is contained in:
Max-Wilhelm Bruker
2011-07-09 12:14:07 +02:00
parent 5e3db65846
commit fbc9ff7601
3 changed files with 9 additions and 4 deletions

View File

@@ -93,7 +93,8 @@ void ServerSocketInterface::flushXmlBuffer()
void ServerSocketInterface::readClient()
{
QByteArray data = socket->readAll();
logger->logMessage(QString(data));
if (!data.contains("<cmd type=\"ping\""))
logger->logMessage(QString(data), this);
xmlReader->addData(data);
while (!xmlReader->atEnd()) {