code: def test_get_logger_bad_level(log_mock):
      """Shared - Get Logger, Bad Level"""
      logger = get_logger("test", "foo")
      assert_equal(
          logging.getLevelName(logger.getEffectiveLevel()), "INFO"
      )
      log_mock.assert_called_with(
          "Defaulting to INFO logging: %s", "Unknown level: 'FOO'"
      )
  
file_path: streamalert/tests/unit/streamalert/shared/test_logger.py
imports: import logging
  import os
  from mock import patch
  from nose.tools import assert_equal, assert_is_instance
  from streamalert.shared.logger import get_logger, LogFormatter, set_formatter
label_desc: Use image node_id 4 for calling a global function with example usage: test_get_logger_bad_level(log_mock) without return types