Fix logging handler to respect configured name

Apparently self.name is used by the parent class.