Output log file in ui tests. [ci skip]