Fixed logging at BaseElement