minor tweaks to logging