Move logging of "would block" messages to debug level 4.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 28 May 2017 10:25:53 +0000 (12:25 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 28 May 2017 10:25:53 +0000 (12:25 +0200)
src/meta.c

index 09c063d35bac3a7c48f25b5f46e78f1c9006588b..45f27622394396a3c3022bbbc11e27f96b8923f0 100644 (file)
@@ -104,7 +104,7 @@ bool flush_meta(connection_t *c) {
                        } else if(errno == EINTR) {
                                continue;
                        } else if(sockwouldblock(sockerrno)) {
-                               ifdebug(CONNECTIONS) logger(LOG_DEBUG, "Flushing %d bytes to %s (%s) would block",
+                               ifdebug(META) logger(LOG_DEBUG, "Flushing %d bytes to %s (%s) would block",
                                                c->outbuflen, c->name, c->hostname);
                                return true;
                        } else {