changed logentries to an arraylist