changes to logging