changed getLog() methods from int-arrays to boolean-arrays