configure logger in one place
update README example