Logging is now assured.
This commit is contained in:
parent
ddc136e0e1
commit
718202d886
|
@ -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):
|
||||||
|
|
||||||
|
|
|
@ -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']
|
||||||
|
|
Loading…
Reference in New Issue