def setup_splunk_logger():
    '\n    Sets up logging to splunk.\n    '
    _remove_temp_handler()
    rootlogger = logging.getLogger()
    handler = hubblestack.splunklogging.SplunkHandler()
    handler.setLevel(logging.SPLUNK)
    rootlogger.addHandler(handler)
    global SPLUNK_HANDLER
    SPLUNK_HANDLER = handler
Sets up logging to splunk.
def setup_splunk_logger():
    '\n    \n    '
    _remove_temp_handler()
    rootlogger = logging.getLogger()
    handler = hubblestack.splunklogging.SplunkHandler()
    handler.setLevel(logging.SPLUNK)
    rootlogger.addHandler(handler)
    global SPLUNK_HANDLER
    SPLUNK_HANDLER = handler