diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp index 451028e22..d969e23d9 100644 --- a/core/backends/lan/lanlinkprovider.cpp +++ b/core/backends/lan/lanlinkprovider.cpp @@ -426,12 +426,13 @@ void LanLinkProvider::configureSslSocket(QSslSocket* socket, const QString& devi socket->setPeerVerifyMode(QSslSocket::QueryPeer); } - QObject::connect(socket, static_cast&)>(&QSslSocket::sslErrors), [](const QList& errors) - { - Q_FOREACH (const QSslError &error, errors) { - qCDebug(KDECONNECT_CORE) << "SSL Error:" << error.errorString(); - } - }); + //Usually SSL errors are only bad for trusted devices. Uncomment this section to log errors in any case, for debugging. + //QObject::connect(socket, static_cast&)>(&QSslSocket::sslErrors), [](const QList& errors) + //{ + // Q_FOREACH (const QSslError &error, errors) { + // qCDebug(KDECONNECT_CORE) << "SSL Error:" << error.errorString(); + // } + //}); } void LanLinkProvider::configureSocket(QSslSocket* socket) { diff --git a/core/device.cpp b/core/device.cpp index b5a0abdec..fb89cee56 100644 --- a/core/device.cpp +++ b/core/device.cpp @@ -232,7 +232,7 @@ void Device::addLink(const NetworkPackage& identityPackage, DeviceLink* link) , incomingCapabilities = identityPackage.get("incomingCapabilities").toSet(); m_supportedPlugins = PluginLoader::instance()->pluginsForCapabilities(incomingCapabilities, outgoingCapabilities); - qDebug() << "new plugins for" << m_deviceName << m_supportedPlugins << incomingCapabilities << outgoingCapabilities; + //qDebug() << "new plugins for" << m_deviceName << m_supportedPlugins << incomingCapabilities << outgoingCapabilities; } else { m_supportedPlugins = PluginLoader::instance()->getPluginList().toSet(); } diff --git a/core/pluginloader.cpp b/core/pluginloader.cpp index 442c369a1..0a908f594 100644 --- a/core/pluginloader.cpp +++ b/core/pluginloader.cpp @@ -113,7 +113,7 @@ QSet PluginLoader::pluginsForCapabilities(const QSet& incoming || incoming.intersects(pluginOutgoingCapabilities) || outgoing.intersects(pluginIncomingCapabilities)) { ret += service.pluginId(); } else { - qDebug() << "discarding..." << service.pluginId(); + qCDebug(KDECONNECT_CORE) << "Not loading plugin" << service.pluginId() << "because device doesn't support it"; } }