clean-up logging