Remove previous head routing
capture_log in integration tests