try to add a configurable logger