Little logging bugfix
This commit is contained in:
parent
81b5483294
commit
b70af6a0be
@ -346,7 +346,7 @@ def ensure_valid_link(response):
|
|||||||
"""Ensures the file item has valid file links using generate_link(...)."""
|
"""Ensures the file item has valid file links using generate_link(...)."""
|
||||||
|
|
||||||
# Log to function-specific logger, so we can easily turn it off.
|
# Log to function-specific logger, so we can easily turn it off.
|
||||||
log = logging.getLogger('%s.ensure_valid_link')
|
log = logging.getLogger('%s.ensure_valid_link' % __name__)
|
||||||
# log.debug('Inspecting link for file %s', response['_id'])
|
# log.debug('Inspecting link for file %s', response['_id'])
|
||||||
|
|
||||||
# Check link expiry.
|
# Check link expiry.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user