read variable in log file to list