add analyze_log.sh