initial version of log_analyzer.py