debug in logging for each metric