Revert "move to static LOG"

This reverts commit e75b996e60.

Change is being reverted because we can't actually use a static LOG
object if we expect setup_logging to do the right thing at runtime.
Python logging will load logging objects at import time using the static
LOG object before setup_logging can run otherwise.

Conflicts:
	elastic_recheck/bot.py
	elastic_recheck/elasticRecheck.py

Change-Id: I582c7e9c9b3c2ccab6a695bfba00a61f7c0a04a9
This commit is contained in:
Clark Boylan
2014-03-06 11:07:04 -08:00
parent 462059f8d4
commit 8b2e067b8c
4 changed files with 36 additions and 41 deletions

View File

@@ -18,12 +18,9 @@ A set of utility methods to load queries for elastic recheck.
"""
import glob
import logging
import os.path
import yaml
LOG = logging.getLogger('recheckwatchbot')
def load(directory='queries'):
"""Load queries from a set of yaml files in a directory."""