Add TVar for logging user agents