From c568e7c6da35df3c1e4f94b253928cfb57f5d602 Mon Sep 17 00:00:00 2001 From: Roxanne Skelly Date: Fri, 31 May 2019 13:57:25 -0700 Subject: [PATCH] remove spammy logging --- libraries/networking/src/udt/Socket.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/networking/src/udt/Socket.cpp b/libraries/networking/src/udt/Socket.cpp index b9bc0bc5f5..524f7edf72 100644 --- a/libraries/networking/src/udt/Socket.cpp +++ b/libraries/networking/src/udt/Socket.cpp @@ -241,8 +241,10 @@ Connection* Socket::findOrCreateConnection(const HifiSockAddr& sockAddr, bool fi if (filterCreate && _connectionCreationFilterOperator && !_connectionCreationFilterOperator(sockAddr)) { // the connection creation filter did not allow us to create a new connection +#ifdef UDT_CONNECTION_DEBUG qCDebug(networking) << "Socket::findOrCreateConnection refusing to create connection for" << sockAddr << "due to connection creation filter"; +#endif // UDT_CONNECTION_DEBUG return nullptr; } else { auto congestionControl = _ccFactory->create();