Group code more logically in setup_logging(...).