log PHP thread if hphp_get_thread_id exists