Added clientIp and userAgent to logs