add log file, be flexible on job name format [ci skip]