setting default log level to WARNING by default