Add user agent in log