Fix missing assignment in setup_logging()