1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

Add more verbose logging

This commit is contained in:
Uwe L. Korn 2013-05-16 11:58:27 +02:00
parent cf7bd1a9ae
commit 89dd9a466d

View File

@ -504,6 +504,7 @@ Servent::readyRead()
{
Q_ASSERT( this->thread() == QThread::currentThread() );
QPointer< QTcpSocketExtra > sock = (QTcpSocketExtra*)sender();
tLog( LOGVERBOSE ) << Q_FUNC_INFO << "Starting to read from new incoming connection from: " << sock->peerAddress().toString();
if ( sock.isNull() || sock.data()->_disowned )
{
@ -774,7 +775,10 @@ Servent::connectToPeer( const peerinfo_ptr& peerInfo )
peerInfoDebug( peerInfo ) << "connectToPeer: search for already established connections to the same nodeid:" << m_controlconnections.count() << "connections";
if ( peerInfo->controlConnection() )
{
peerInfoDebug( peerInfo ) << Q_FUNC_INFO << "deleting the existing Controlconnection";
delete peerInfo->controlConnection();
}
bool isDupe = false;
ControlConnection* conn = 0;