added log analysis
add log analysis