added Log4j to control log. Added dh_metric_type_set,dh_metric_deep_set to control metric to gather