Use getLogs instead.
getLogLines(false)
The logs of the container up until when this field is accessed, converted into a List with one line per element.