new func in log_anlayzer.py