add log formatting to comparison tool