Comment out diagnostic prints

This commit is contained in:
Bill Somerville 2020-11-05 11:30:48 +00:00
parent caa23f1101
commit c15f244a09
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
3 changed files with 4 additions and 4 deletions

View File

@ -2418,7 +2418,7 @@ void Configuration::impl::on_udp_server_line_edit_editingFinished ()
if (server.size () && ha.isNull ()) if (server.size () && ha.isNull ())
{ {
// queue a host address lookup // queue a host address lookup
qDebug () << "server host DNS lookup:" << server; // qDebug () << "server host DNS lookup:" << server;
#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0) #if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
dns_lookup_id_ = QHostInfo::lookupHost (server, this, &Configuration::impl::host_info_results); dns_lookup_id_ = QHostInfo::lookupHost (server, this, &Configuration::impl::host_info_results);
#else #else
@ -2443,7 +2443,7 @@ void Configuration::impl::host_info_results (QHostInfo host_info)
else else
{ {
auto const& server_addresses = host_info.addresses (); auto const& server_addresses = host_info.addresses ();
qDebug () << "message server addresses:" << server_addresses; // qDebug () << "message server addresses:" << server_addresses;
if (server_addresses.size ()) if (server_addresses.size ())
{ {
check_multicast (server_addresses[0]); check_multicast (server_addresses[0]);

View File

@ -179,7 +179,7 @@ void MessageClient::impl::start ()
// bind to an ephemeral port on the selected interface and set // bind to an ephemeral port on the selected interface and set
// up for sending datagrams // up for sending datagrams
bind (interface_addr); bind (interface_addr);
qDebug () << "Bound to UDP port:" << localPort () << "on:" << localAddress (); // qDebug () << "Bound to UDP port:" << localPort () << "on:" << localAddress ();
// set multicast TTL to limit scope when sending to multicast // set multicast TTL to limit scope when sending to multicast
// group addresses // group addresses

View File

@ -434,7 +434,7 @@ MessageServer::MessageServer (QObject * parent, QString const& version, QString
void MessageServer::start (port_type port, QHostAddress const& multicast_group_address void MessageServer::start (port_type port, QHostAddress const& multicast_group_address
, QSet<QString> const& network_interface_names) , QSet<QString> const& network_interface_names)
{ {
qDebug () << "MessageServer::start port:" << port << "multicast addr:" << multicast_group_address.toString () << "network interfaces:" << network_interface_names; // qDebug () << "MessageServer::start port:" << port << "multicast addr:" << multicast_group_address.toString () << "network interfaces:" << network_interface_names;
if (port != m_->localPort () if (port != m_->localPort ()
|| multicast_group_address != m_->multicast_group_address_ || multicast_group_address != m_->multicast_group_address_
|| network_interface_names != m_->network_interfaces_) || network_interface_names != m_->network_interfaces_)