code: def test_settings_log_level(self):
      # Verify the default level is applied
      self.assertEqual(logger.level, LOG_LEVEL_DEFAULT)
      # Next, verify the level of overwritten within the context manager
      with settings.log_level(logging.INFO):
          self.assertEqual(logger.level, logging.INFO)
      # Finally, verify the original level is set again
      self.assertEqual(logger.level, LOG_LEVEL_DEFAULT)
  
file_path: botorch/test/test_logging.py
imports: import logging
  import torch
  from botorch import settings
  from botorch.logging import LOG_LEVEL_DEFAULT, logger, shape_to_str
  from botorch.utils.testing import BotorchTestCase
label_desc: Use image node_id 2 for calling the TestLogging obj's underlying member method code with example usage: obj.test_settings_log_level() without return types