Added clustering result logging method