read log file from end