fix import error, formatting
fix formatting
Fix missing assignment in setup_logging()