set logger level to warning