Added configurable logger