Added better logging for describing the getType