diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index f666db91d3..ce57288544 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: socket.c,v 1.150 2000/07/13 01:22:56 bwelling Exp $ */ +/* $Id: socket.c,v 1.151 2000/07/13 01:38:40 gson Exp $ */ #include @@ -234,6 +234,9 @@ manager_log(isc_socketmgr_t *sockmgr, char msgbuf[2048]; va_list ap; + if (! isc_log_wouldlog(isc_lctx, level)) + return; + va_start(ap, fmt); vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap); va_end(ap);