policy: add extra debug to ifcondition functions

NI_LOG_DEBUG2 lvelel needed to enable it.