Made logger configurable