##// END OF EJS Templates
logs: better log message
ergo -
Show More
@@ -297,7 +297,8 b' def add_logs(resource_id, request, dataset, environ=None, **kwargs):'
297 Datastores.es.delete_by_query(
297 Datastores.es.delete_by_query(
298 es_index, 'log', query)
298 es_index, 'log', query)
299 except pyelasticsearch.ElasticHttpNotFoundError as exc:
299 except pyelasticsearch.ElasticHttpNotFoundError as exc:
300 log.error(exc)
300 msg = 'skipping index {}'.format(es_index)
301 log.info(msg)
301
302
302 total_logs = len(dataset)
303 total_logs = len(dataset)
303
304
General Comments 0
You need to be logged in to leave comments. Login now