update to logging