Log an event for computing stats to save stats before dump