(cherry picked from commit 6bb84df34d)
This commit is contained in:
Mark Andrews 2016-10-11 17:05:36 +11:00
parent 321f87f8ea
commit d2605df7e9

View file

@ -2945,7 +2945,7 @@ cfg_obj_log(const cfg_obj_t *obj, isc_log_t *lctx, int level,
REQUIRE(obj != NULL);
REQUIRE(fmt != NULL);
if (! isc_log_wouldlog(lctx, l))
if (! isc_log_wouldlog(lctx, level))
return;
va_start(ap, fmt);