docstr: Cleanup the existing log configuration.
docstr_tok: ["Cleanup","the","existing","log","configuration","."]
code: def setUp(self):
      """
      Cleanup the existing log configuration.
      """
      self.logger = logging.getLogger(tc_config._root_package_name)
      self.orig_handlers = self.logger.handlers
      self.logger.handlers = []
      self.level = self.logger.level
      self.logger.level = logging.DEBUG
  
      self.rt_logger = logging.getLogger()
      self.orig_root_handlers = self.rt_logger.handlers
      self.rt_logger.handlers = []
      self.root_level = self.rt_logger.level
      self.rt_logger.level = logging.CRITICAL
  
file_path: turicreate/src/python/turicreate/test/test_logger.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from unittest import TestCase
  import logging
  from ..None import config
  import pytest
label_desc: Use image node_id 1 for calling the LoggingConfigurationTests obj's underlying member method code with example usage: obj.setUp() without return types