added more configurable logger