Logging is now assured.

This commit is contained in:
David Read 2012-04-10 20:53:29 +01:00
parent ddc136e0e1
commit 718202d886
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ from ckan.plugins import IConfigurable, IActions, IAuthFunctions
from ckanext.harvest.model import setup as model_setup from ckanext.harvest.model import setup as model_setup
log = getLogger(__name__) log = getLogger(__name__)
assert not log.disabled
class Harvest(SingletonPlugin): class Harvest(SingletonPlugin):

View File

@ -12,6 +12,7 @@ from ckanext.harvest.model import HarvestJob, HarvestObject,HarvestGatherError
from ckanext.harvest.interfaces import IHarvester from ckanext.harvest.interfaces import IHarvester
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
assert not log.disabled
__all__ = ['get_gather_publisher', 'get_gather_consumer', \ __all__ = ['get_gather_publisher', 'get_gather_consumer', \
'get_fetch_publisher', 'get_fetch_consumer'] 'get_fetch_publisher', 'get_fetch_consumer']