Logging traces on RSS parse

This commit is contained in:
Fabio Manganiello 2018-05-21 09:27:13 +02:00
parent 4643c10e11
commit 0accbfa66e

View file

@ -171,8 +171,10 @@ class RssUpdates(HttpRequest):
filename=digest_filename)
session.add(digest_entry)
logging.info('{} digest ready: {}'.format(self.digest_format, digest_filename))
session.commit()
logging.info('Parsing RSS feed {}: completed'.format(self.title))
return NewFeedEvent(request=dict(self), response=entries,
source_id=source_record.id, title=self.title,