clean up logging dir open code