Logging user-agent header.