Commit 9800e057 authored by Marcin Mielniczuk's avatar Marcin Mielniczuk

Print MAM query jid in the info calls

parent 03917eda
Pipeline #3493 passed with stages
in 2 minutes and 43 seconds
......@@ -407,7 +407,7 @@ class MAM(BaseModule):
last = set_.getTagData('last')
if last is None:
self._log.info('End of MAM query, no items retrieved')
self._log.info('End of MAM query for %s, no items retrieved', jid)
self._catch_up_finished.append(jid)
self._mam_query_ids.pop(jid)
return
......@@ -431,7 +431,7 @@ class MAM(BaseModule):
jid, oldest_mam_timestamp=start_date.timestamp())
self._catch_up_finished.append(jid)
self._log.info('End of MAM query, last mam id: %s', last)
self._log.info('End of MAM query for %s, last mam id: %s', jid, last)
def request_archive_interval(self, start_date, end_date, after=None,
query_id=None):
......@@ -473,7 +473,7 @@ class MAM(BaseModule):
None, query_id=query_id))
app.logger.set_archive_infos(
jid, oldest_mam_timestamp=timestamp)
self._log.info('End of MAM request, no items retrieved')
self._log.info('End of MAM request for %s, no items retrieved', jid)
return
complete = fin.getAttr('complete')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment