Replace print by Logger everywhere