diff --git a/ckan/lib/base.py b/ckan/lib/base.py index 6512f1bb077..b40a818828a 100644 --- a/ckan/lib/base.py +++ b/ckan/lib/base.py @@ -38,6 +38,8 @@ ALLOWED_FIELDSET_PARAMS = ['package_form', 'restrict'] +log = logging.getLogger(__name__) + def abort(status_code=None, detail='', headers=None, comment=None): if detail and status_code!=503: h.flash_error(detail) @@ -95,6 +97,7 @@ def render_template(): del globs['url'] template_path, template_type = lib.render.template_info(template_name) + log.info('rendering %s [%s]' % (template_path, template_type)) # Jinja2 templates if template_type == 'jinja2':