Get slice for only output lines within build log