]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
debug prints in verbose output.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 9 Jul 2020 11:41:50 +0000 (13:41 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 9 Jul 2020 11:41:50 +0000 (13:41 +0200)
util/netevent.c

index e749e1b68013b4707417c15f3980844040f1b59a..3237907d1792b9e7a453b2d988ea0c1332432894 100644 (file)
@@ -3308,13 +3308,13 @@ comm_point_start_listening(struct comm_point* c, int newfd, int msec)
        if(c->type == comm_tcp || c->type == comm_http) {
                ub_event_del_bits(c->ev->ev, UB_EV_READ|UB_EV_WRITE);
                if(c->tcp_write_and_read) {
-                       log_info("startlistening %d mode rw", (newfd==-1?c->fd:newfd));
+                       verbose(5, "startlistening %d mode rw", (newfd==-1?c->fd:newfd));
                        ub_event_add_bits(c->ev->ev, UB_EV_READ|UB_EV_WRITE);
                } else if(c->tcp_is_reading) {
-                       log_info("startlistening %d mode r", (newfd==-1?c->fd:newfd));
+                       verbose(5, "startlistening %d mode r", (newfd==-1?c->fd:newfd));
                        ub_event_add_bits(c->ev->ev, UB_EV_READ);
                } else  {
-                       log_info("startlistening %d mode w", (newfd==-1?c->fd:newfd));
+                       verbose(5, "startlistening %d mode w", (newfd==-1?c->fd:newfd));
                        ub_event_add_bits(c->ev->ev, UB_EV_WRITE);
                }
        }