Fixes to logging