configure logger