Only require ap if the shlog dev mode is on not the global dev mode