Make sure we log last_ip for requests in main.