LOG(L_ERR, "sipcapture:hep_msg_received HEP is not enabled\n"); if(!hep_capture_on) { LOG(L_ERR, "sipcapture:hep_msg_received HEP is not enabled\n"); return -1; } THis part of the code (in hep.c) seems to log the error all the time, but when we have an issue, log it twice. /O