revision of LeLogger.php logentries.php