Joey Logano brought out a caution after contact with Denny Hamlin sent him into the outside wall and cut a tire in the closing laps at Martinsville Speedway.