remove temp log and use the lastLine/lastColumn