added extensive logger support