added correct logging of base class