set logger