support loggin for do_clustering_gmm