Add log.loud for search query explain.

This commit is contained in:
voussoir 2022-11-09 19:42:30 -08:00
parent 638dd67cef
commit 1867d30d88

View file

@ -1905,7 +1905,7 @@ class Search:
query = f'{"-" * 80}\n{query}\n{"-" * 80}' query = f'{"-" * 80}\n{query}\n{"-" * 80}'
log.debug('\n%s %s', query, bindings) log.debug('\n%s %s', query, bindings)
# print(self.photodb.explain(query, bindings)) log.loud(self.photodb.explain(query, bindings))
generator = self.photodb.select(query, bindings) generator = self.photodb.select(query, bindings)
seen_albums = set() seen_albums = set()
offset = kwargs.offset offset = kwargs.offset