add log analysis