LOGI_IF AND LOGD_IF