Fix logging bug.

helpers.readlog() returned [] if log.json was not found. changed to set records = [] and return records.