add logging for end tweet