Changed name of log_filename to src_filename