set logger level at main function