Changing the levels of logger.