updates to logging