log emptied