Display logs in an array