better logging doc