Remove getLogger() mehod of abstract components.

getLogger() is not used by the abstract components, remove it.
Fix importers/mqtt-it