adds some echos before logging