log_stat_script