change ``logger`` to ``logger=logger`` please.