process_log_by_api.pl