Refactored Summary command for flog