added error checking logentry unit test