do not attempt to log the user-agent if it's not available.