Added temporary logging of user agent.