... > and then > LDAP_LOG(OPERATION, INFO, ("%s: foobar %d at from %x", name, rc, addr)); > will expand to > if (ldap_loglevels[LDAP_SUBSYS_OPERATION] >= LDAP_LEVEL_INFO) > lutil_log ("%s: foobar %d at from %x", name, rc, addr); I haven't looked at the code, but isn't "lutil_log" interested in the subsystem and message level?