Make logger configurable